npm i
npm start --dev_base=/Users/andrew/git/oslc/web/website/content/ns
On the server:
cd ~/workspace/oslc-site-content-negotiation/
git checkout master
git pull
npm ci
npm i -g pm2
pm2 update
pm2 restart negotiation.js --update-env || NODE_ENV=production pm2 start negotiation.js
pm2 save
pm2 status
On the dev machine:
./test.sh -p