Skip to content

Deploy a complete nightscout site with mongodb on local rasberrypi

Notifications You must be signed in to change notification settings

viderehh/deploy-nightscout-local-debain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

install nightscout on your own debian webserver (including mongodb)

git clone https://github.com/viderehh/deploy-nightscout-local-debain
cd deploy-nightscout-local-debain;chmod +x ns-local-install.sh && ./ns-local-install.sh

before start your nightscout
edit /opt/start-nightscout.sh
change CUSTOM_TITLE=mysitename_without_space
and API_SECRET=my_24_characters_or_more_password

create mongodb user
https://gist.github.com/tamoyal/10441108
edit /opt/start-nightscout.sh
MONGO_CONNECTION=mongodb://user:password@localhost:port/database

secure your site with https and letsencrypt
https://gist.github.com/johnmales/1b3c927f2a56aae640b4b2cd0298b1e7#create-reverse-nginx-proxy

About

Deploy a complete nightscout site with mongodb on local rasberrypi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%