Skip to content

Instantly share code, notes, and snippets.

@samueleastdev
Last active December 20, 2022 17:32
Show Gist options
  • Save samueleastdev/865cd8b45ba68713aac26ac6272d8a14 to your computer and use it in GitHub Desktop.
Save samueleastdev/865cd8b45ba68713aac26ac6272d8a14 to your computer and use it in GitHub Desktop.
Setting Up Dev Environment On Windows
Install Git Bash
https://git-scm.com/download/win
Install Vscode
https://code.visualstudio.com/download
In vscode open a terminal via then menu click the down arrow next to the plus and click Select Default Profile -> Then select Git Bash
Install NVM via Git Bash in vscode
create a .bashrc file
touch ~/.bashrc
Make it available source ~/.bashrc
https://github.com/nvm-sh/nvm
Install node
nvm install node
Make connection with git
In the git bash terminal type ssh-keygen -t rsa. This will generate public and private key pair
Go to the location of the keys (I'd recommend using git bash for it) and open the public key (with cat, for example), copy it
Paste the public key on your github account using Account->SSH Keys->Add key
Use http clone to the git repo
Copy the npmrc file over ~/.npmrc
Copy all certs etc
Run npm i
Edit hosts file add
127.0.0.1 local.clients.dev.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment