Updating Your Site to the Latest Version


Updating your website to the latest version (see here which is the current released version) is easy with the update tool linked below.


Requirements


This version of Nightscout will probably not run on anything older than these versions/platforms:

  • Android 4
  • iOS 9
  • Chrome 68
  • Edge 17
  • Firefox 61
  • Safari 10 (macOS 10.12)
  • Opera 54
  • Internet Explorer: none


Azure Users

As of 0.12, Nightscout no longer readily supports the free Azure platform. It is recommended that you create a new site with Heroku.


Step1: Update your repository in GitHub


  • Click here to log in at GitHub: https://github.com/login.
  • Enter your username or email and your password. Click Sign in


  • Select your own cgm-remote-monitor project (not nightscout/cgm-remote-monitor)


  • Your repository will open, note your GitHub username (hidden below in yellow).
  • Scroll down until you see the Nightscout logo.


  • Click Update your site


  • Enter your GitHub username and click Check for updates


  • If an update is available click Continue updating at GitHub
  • Make sure you see GitHub user located! else check your username.
  • If you know an update is available but you see Repo is Up to date, try the alternative method.


  • A pop-up will open, just click OK (you can read the contents if you want, but this is explained below, so just click OK)


  • Now comes the tricky part.

Don't try to update cgm-remote-monitor with your own project!

Make sure the left hand side repository is yours (name hidden in yellow) and the right hand side is nightscout/cgm-remote-monitor.

Click Create pull request.


  • A pull request opens. Last chance to check the left hand side repository is yours (name hidden in yellow) and right hand side is nightscout/cgm-remote-monitor, write a comment in the field (example Update or whatever you like)


  • Scroll down and click Create pull request


  • Scroll all the way down (it might be far away) and click Merge pull request


  • Click Confirm merge


  • A new line will appear in the pull requests log showing merge succeeded


  • Your GitHub repository will show you're one commit ahead of the released version


  • You have successfully updated your GitHub repository, now let's deploy it in Heroku.



Step2: Deploy in Heroku



  • Select your app (hidden in yellow)


  • Click on Deploy


  • Verify Heroku is connected to GitHub, if not, click Connect to GitHub


  • If Heroku is not connected to GitHub, scroll down and click Connect to GitHub, if a popup window opens and requires authorization, click Authorize Heroku


  • Verify your app cgm-remote-monitor is connected to GitHub


  • If it isn't, In Connect to GitHub, type cgm-remote-monitor and click Search then click Connect


  • If you have trouble connecting your app, click Disconnect and reconnect it as shown above


  • Scroll down to the bottom of the page, select the master branch and click Deploy Branch


  • Build will start and information will scroll in the log window. Do not leave the page, do not interfere and wait for completion. It might take more than 10 minutes. Interrupting the process will lead to a broken site and you'll need to restart deployment.


  • Wait until the deploy process completes and click View (if nothing happens click Manage App then upper right Open App)


  • Your site will open and should be at the latest version. You're done!
  • Check your profile time zone is correct.
  • Else, if you ran into trouble, try the Redeploy method