Starting express-generator server with nodemon add this to the servers package json "scripts": { "start": "PORT=3001 nodemon ./bin/www" }
Setting env variables for use with process.env.BLAH Use the dotenv package Create server root level .env file require('dotenv').config({path: '/custom/path/to/your/env/vars'}) variables now accessible under process.env.VARIABLE
Remove files / directories from GIT remote but keep local git rm [-r] --cached [file | folder] git commit -m "message" git push origin