How to Update Your Website to the Latest Release – Pull Request

2 Nov
Guides > FAQs > Website > How to Update Your Website to the Latest Release - Pull Request

Overview

This procedure walks you through updating your Nightscout website to the latest release using a Github pull request.  

These instructions should work for most people.  However, if you have problems merging the pull request due to conflicts, please use the alternate upgrade instructions to delete and re-fork cgm-remote-monitor.

Upgrade Procedure

  1.     Log in to your github account, then click on your username in the upper right corner of the screen.
    Screen Shot 2014-11-01 at 11.34.28 PM
  2.     Open the Repositories Tab
    Screen Shot 2014-11-02 at 12.22.55 AM
  3.     Click on cgm-remote-monitor
    Screen Shot 2014-11-01 at 11.36.07 PM
  4.     Click on the small green button on the left to create a pull request 
    Screen Shot 2014-11-01 at 11.36.34 PM
  5.     Click Edit button
    Screen Shot 2014-11-01 at 11.37.02 PM
  6.     Click on the base fork button. Select your version of the code from the drop down menu (myusername/cgm-remote-monitor)
    Screen Shot 2014-11-02 at 12.35.29 AM
  7.     Click Edit Button again.
    Screen Shot 2014-11-01 at 11.37.47 PM
  8.     Click Compare across forks link
    Screen Shot 2014-11-01 at 11.37.51 PM
  9.     Click on the head fork button. Select nightscout/cgm-remote-monitor from the drop down menu.
    Screen Shot 2014-11-02 at 12.32.25 AM
  10. Click the green “Create pull request” button.
    Screen Shot 2014-11-01 at 11.41.33 PM
  11. Enter a title and comment into the appropriate boxes and click green “Create pull request” button on the bottom right.
    Screen Shot 2014-11-01 at 11.41.46 PM
  12. Scroll down the page of changes to the code until you see the green “Merge pull request” button. Click on it.
    Screen Shot 2014-11-01 at 11.42.00 PM
  13. A “Confirm merge” button will appear. Click on it.
    Screen Shot 2014-11-01 at 11.42.05 PM
  14. Scroll back to the top of the page. If you see a purple “Merged” button, you’re done!  
  15. If your website is hosted by Azure, it should update shortly. Try refreshing your website in about 10 minutes.