-
Notifications
You must be signed in to change notification settings - Fork 1
Windows Setup with WSL2
Follow the instructions here and install Ubuntu 20.04 LTS when you get to that step.
Once you have Ubuntu installed, in the start menu fire up Ubuntu 20.04 LTS.
In the command prompt that starts your Ubuntu session:
sudo apt updatesudo apt dist-upgradesudo apt install tmux zsh
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Test you have Node v16 installed. If you run node -v, you should get something like v16.x.x
In the main readme, follow the instructions from Clone and go into the application until you get to the Postgres section
sudo apt install postgresql postgresql-contrib
createdb or psql you have to prepend sudo -u postgres. This is because Ubuntu/Linux has a stronger separation of users. As a normal user, you shouldn't have access to system apps like Postgres. sudo -u postgres allows you to impersonate the postgres user that has access to the postgress application.
-
sudo /etc/init.d/postgresql startto start postgres -
sudo update-rc.d postgresql defaultsto allow postgres to automatically start when you restart Ubuntu
Follow the instructions in the readme to set up postgres. Skip steps 1-3 and jump to step 5.
I personally use VSCode but any IDE you're comfortable with should work.
Because we are running our code in a virtual machine on WSL, you will need to follow the instructions to enable the Remote Development extension pack. Note this pack only works for VSCode, but your IDE should have something similar.
When you get a chance spend some time learning the basics of tmux