- run
pm2 delete server
to stop Nightscout cd
intocgm-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
This file contains hidden or 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
(user @ host): ~ | |
--> curl -v -X POST -u [email protected] https://api.tidepool.org/auth/login | |
Enter host password for user '[email protected]': | |
* Trying 34.216.109.25... | |
* TCP_NODELAY set | |
* Connected to api.tidepool.org (34.216.109.25) port 443 (#0) | |
* ALPN, offering h2 | |
* ALPN, offering http/1.1 | |
* successfully set certificate verify locations: | |
* CAfile: /etc/ssl/cert.pem |
OlderNewer