Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 712 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 712 Bytes

Node.js server to handle content negotiation for the OSLC website.

Discourse status Gitter

Getting started

npm i
npm start --dev_base=/Users/andrew/git/oslc/web/website/content/ns

Deployment

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