Once installed and started, the mongodb server is accessible on the host machine on port 27017. More details are available here: Install MongoDB Community Edition on Ubuntu. In case you are not using a DigitalOcean droplet with pre-installed mongodb, you will have to install mongodb manually. Setup your cgm-remote-monitor environment as you normally would, for example creating a file my.env : MONGO_CONNECTION=mongodb://localhost/admin (if mongodb is hosted on the same machine as NS, as in this (if using mlab)ĮNABLE=careportal%20openaps%20iob%20bwp%20cage%20basal%20pump%20bridgeĪUTH_DEFAULT_ROLES=readable%20devicestatus-upload Git checkout dev or git checkout master(probably not necessary) and or any other version that fits your needs, but at least for the dev branch of Nightscout, you need a newer version of node.js than the one included in Ubuntu 16.04 Server LTS.ĭownload cgm-remote-monitor (nightscout) from github:Īlternatively fork a copy of cgm-remote-monitor and clone your own copy. Sudo apt-get install build-essential libssl-dev On DigitalOcean, I prefer to install nvm, and from there select the node.js version to install. Install Node.js and npm sudo apt-get install nodejs npm Sudo apt-get update & sudo apt-get upgrade Install CGM-Remote-Monitor (Nightscout) Please read how to do it here: Initial Server Setup with Ubuntu 16.04 I recommend creating a non-root user with root privileges, at least that is what I did on my DigitalOcean droplet. (create a new "one-click app" droplet, select ( Mongo 3.4 on 16.04) Vmware - various options including vmware workstation, vmware player, ESXiĪlternatively, consider hosting your Ubuntu instance elsewhere, for example:.Make a fresh instance of Ubuntu 16.04.1 LTS as a VM or on a physical machine This document describes making a self hosted nightscout instance, with SSL encryption and certificate with Let's Encrypt.
0 Comments
Leave a Reply. |