Last active
November 19, 2020 18:52
-
-
Save matt212/70271293c7d0c927021f0bfaad48179e to your computer and use it in GitHub Desktop.
Nodejs+postgres+redis Env Setup for App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
#Nodejs | |
sudo apt install nodejs | |
sudo apt install npm | |
#Postgres | |
sudo apt-get update | |
sudo apt install postgresql postgresql-contrib | |
#Redis-server | |
sudo apt install redis-server | |
sudo service redis-server start | |
#for ubunutu in windows wsl | |
sudo npm install -g --unsafe-perm=true --allow-root | |
#Create postgres Authentication | |
sudo -u postgres psql postgres -c "\password postgres" | |
sudo service postgresql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment