Skip to content

Instantly share code, notes, and snippets.

@loudestnoise
Last active February 18, 2021 22:58
Show Gist options
  • Save loudestnoise/a4d8981b5ce7373e91fce3557d326c00 to your computer and use it in GitHub Desktop.
Save loudestnoise/a4d8981b5ce7373e91fce3557d326c00 to your computer and use it in GitHub Desktop.
Update Nightscout instructions on Linux (Ubuntu) VPS with PM2

Update Nightscout instructions on Linux (Ubuntu) VPS with PM2

  • run pm2 delete server to stop Nightscout
  • cd into cgm-remote-monitor
  • run git pull
  • run git checkout 14.2.1 (but substitude 14.2.1 with whatever new release tag from here)
  • run rm -r node_modules
  • run npm i
  • run npm run postinstall
  • run env $(cat my.env) pm2 start lib/server/server.js --update-env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment