Setting Up Your Nightscout Website on Azure

22 Aug

Revision for “Setting Up Your Nightscout Website on Azure” created on January 15, 2019 @ 12:32:00

Title
Setting Up Your Nightscout Website on Azure
Content
<!-- Removed after discussion with JW on 4/20/16 <h4><em>There is a video of this step here: <a href="http://youtu.be/99Gr3h8He98">http://youtu.be/99Gr3h8He98</a></em> (<strong>NOTE: This video is outdated and may not show all steps required, including configuration of the API_SECRET. The Azure interface has also changed since the video was created.)</strong></h4> --> <h2 style="color: red">This guide is no longer current. Please follow <a href="http://www.nightscout.info/wiki/welcome/set-up-nightscout-using-heroku">this guide</a> instead.</h2> <strong>Currently, Heroku is the recommended approach for Nightscout hosting. If you plan to Loop or use openAPS, you will need to use Heroku instead of Azure. For regular use, Heroku is easier to set up and some find it to have less downtime and be more reliable.</strong> <strong>Directions below are for Azure. To set up a Heroku site, use <a href="http://www.nightscout.info/wiki/welcome/set-up-nightscout-using-heroku">these directions</a>.</strong> &nbsp; <h2><em><span style="color: #ff0000;">You need the worksheet you started filling out during the MongoDB setup for the next steps.</span></em></h2> <h3 id="microsoft-azure-cloud-service-to-host-website-free" class="page-content">The following multi-step process will walk you through obtaining the web site source code from GitHub, creating a website hosted by Microsoft Azure, and deploying the source code to your new Nightscout site.</h3> <a name="github"></a> <h2 class="page-content"><strong>1. Set Up GitHub</strong></h2> <ul> <li class="listPad">Create a free account at <a href="https://github.com/" target="_blank" rel="noopener">Github</a>. You will see the following screen that confirms you have a free account:<a href="http://www.nightscout.info/wp-content/uploads/2014/08/github-setup1.jpg"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/github-setup1-150x150.jpg" alt="github setup" width="150" height="150" /></a></li> <li class="listPad">Be sure and <span style="color: #ff0000;"><strong>write down your username &amp; password</strong></span>.</li> <li class="listPad">After creating your account and logging in, open the master repository by clicking here --&gt;<a href="https://github.com/nightscout/cgm-remote-monitor" target="_blank" rel="noopener">cgm-remote-monitor</a></li> <li class="listPad">Make a copy (<span class="redText">"Fork"</span>) of nightscout/cgm-remote-monitor to your own repository by clicking on the <span class="redText">Fork</span> button that appears top right <strong>OR</strong> click here to fork the repository --&gt;<a href="https://github.com/nightscout/cgm-remote-monitor/fork"><img src="http://i.imgur.com/gR4wJ24.png" alt="fork" /> the cgm-remote-monitor</a></li> <li class="listPad"><strong>If</strong> prompted with '<strong><em>Where should we fork this repository?</em></strong>', select your <strong>@&lt;gitaccountname&gt;</strong>, and it will fork to your repository. (At the top of the page, you will now see <strong>&lt;gitaccountname&gt;/cgm-remote-monitor</strong> indicating you have your own copy forked from Nightscout.)</li> <li>You are now ready to create a website (or web app). Documentation below is for setting the site up using Azure. Heroku is an alternative. <strong>If you plan to use Heroku, you will NOT use the directions below. Set up a Heroku account, deploy to Heroku, and configure your site instead. Heroku setup also automatically creates and configures the mLab database.</strong></li> </ul> <a name="azure"></a> <h2>2.  Create an Azure Website</h2> Note: With the release of CGM Remote Monitor 0.9 (October 2016), there is now a "Deploy to Azure" button that can simplify the creation and configuration of a Nightscout site in Azure. Directions to use this streamlined approach can be found <a href="http://www.nightscout.info/wiki/welcome/set-up-your-nightscout-website-deploy-to-azure">here</a>. Using these directions replaces the setup steps on the rest of this page. <ul> <li class="listPad">Go to <a href="http://azure.microsoft.com" target="_blank" rel="noopener">http://azure.microsoft.com</a>.</li> <li class="listPad">If you are setting up your first Azure site, click "Try for free." (This is a 30-day trial that also gives  you a $200 credit.) (If you already have an Azure account and need to create a new website, skip to Create Your Azure Website below.)</li> <li class="listPad">Be sure and <span style="color: #ff0000;"><strong>write down your username &amp; password</strong></span>.</li> <li class="listPad">Enter your credit card information when requested. This is a required step, even though the plan is free for 30 days. <blockquote><strong>Note</strong>: after setting up your Azure account, <span style="color: #ff0000;"><strong><em>you must change your plan within the thirty day trial or you risk your account being terminated</em></strong></span>. Find out <a href="http://www.nightscout.info/wiki/faqs-2/azure-management" target="_blank" rel="noopener">how to change to the Pay-As-You-Go plan</a>. (With typical Nightscout usage, your Azure site should remain free or very low cost.)</blockquote> </li> <li class="listPad">Once your account is set up, log in (if necessary) to the <a href="https://portal.azure.com/">Azure Portal to create your Nightscout website.</a><strong>Note:</strong> the user interface at Azure has changed. If you have used Azure before and wish to use the older version, please begin at <span class="redText"><a href="https://manage.windowsazure.com">https://manage.windowsazure.com</a></span>. <strong>The following screenshots and directions have been updated to reflect the new Azure interface.</strong></li> </ul> <a name="createSite"></a> <h2>2.2 Create Your Website</h2> <strong>You can host your site at Azure or Heroku. Directions below are for Azure. To set up a Heroku site, use <a href="http://www.nightscout.info/wiki/welcome/set-up-nightscout-using-heroku">these directions</a>.</strong> Note: With the release of CGM Remote Monitor 0.9 (October 2016), there is now a "Deploy to Azure" button that can simplify the creation and configuration of a Nightscout site in Azure. Directions to use this streamlined approach can be found <a href="http://www.nightscout.info/wiki/welcome/set-up-your-nightscout-website-deploy-to-azure">here</a>. Using these directions replaces the setup steps on the rest of this page. <ul> <li class="listPad">If you do not see the buttons and pop-up screens shown below, please try using the Google Chrome browser.</li> <li class="listPad">From the Microsoft Azure Portal, create a new site, as follows:</li> </ul> <ol> <li class="listPad">Click <span class="redText">NEW</span> in the left-hand menu. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-new.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-new.png" alt="azure-new-new" width="212" height="208" /></a></li> <li class="listPad">From the panel that opens, select <span class="redText">Web + Mobile</span>. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-web.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-web.png" alt="azure-new-web" width="299" height="339" /></a></li> <li class="listPad">From the panel that opens, select <span class="redText">Web App</span>. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-webapp.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-webapp.png" alt="azure-new-webapp" width="310" height="249" /></a></li> <li class="listPad">In the panel that opens, fill in the <span class="redText">App Service Name</span>. <strong>This will be the <em>name</em> of your Nightscout site.</strong> (Your Nightscout url will be <span class="redText"><strong>appName</strong>.azurewebsites.net</span>.) <blockquote class="warning">Since this information is health-related, we suggest you give your site a name <strong>not</strong> associated with the PWD.</blockquote> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-createnewwebapp.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-createnewwebapp.png" alt="newazure-createnewwebapp" width="296" height="483" /></a></li> <li class="listPad"><span class="redText">Subscription Type</span> should be Pay-As-You-Go (default).</li> <li class="listPad">If default choices are shown, you can leave the default selections for <span class="redText">Resource Group</span> and <span class="redText">App Service Plan/Location</span>. If the Resource Group shows <span class="redText">+ New</span> as the only option, <strong>type a name in the <span class="redText">New Resource Group Name</span> box to create one</strong>. (This can be any name, e.g., MyResource.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-resourcegroup.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-resourcegroup.png" alt="newazure-resourcegroup" width="296" height="483" /></a></li> <li><strong>If default selections are not shown for App Service Plan/Location, click the box and follow the prompts to make your choices.</strong> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan.png" alt="newazure-appserviceplan" width="296" height="483" /></a> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen2.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen2.png" alt="newazure-appserviceplan-screen2" width="400" height="199" /></a></li> <li>Fill in a name for the App Service plan you are creating. (This can be any name, e.g., MyPlan.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen3.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen3.png" alt="newazure-appserviceplan-screen3" width="308" height="334" /></a></li> <li>Select a location from the drop-down menu. The location does not need to be the region in which you live.</li> <li>Click the Pricing Tier box to open the pricing options panel. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-pricingtier.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-pricingtier.png" alt="newazure-pricingtier" width="300" height="337" /></a></li> <li>You want to select "free" as the pricing tier. In the current Azure Portal, the panel that opens does <strong>not</strong> show "free." Click the "View All" link. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-pricingtier-screen2x.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-pricingtier-screen2x.png" alt="newazure-pricingtier-screen2x" width="450" height="114" /></a></li> <li>Scroll down the options to find the "free" choice. Click it to select it, and then click the "Select" button at the bottom. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-free.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-free.png" alt="newazure-free" width="182" height="323" /></a></li> <li>Make sure that the free option is shown in the pricing tier box. Click "OK" at the bottom. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen-complete.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-appserviceplan-screen-complete.png" alt="newazure-appserviceplan-screen-complete" width="298" height="190" /></a></li> <li>You will now see the new Web App panel again, with all of your information filled in. Verify your choices and selections. Click <span class="redText">Pin to Dashboard</span> at the bottom, and then click <span class="redText">Create</span>.</li> </ol> After creating your new site (web app), a screen will open, and you will see the following icon while the app is created. (Azure will give you a message that the web app has been deployed. Please note this is not the same thing as the deployment in GitHub, which happens in the following step.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployingapp.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployingapp.png" alt="azure-new-deployingapp" width="185" height="189" /></a> <a name="node"></a> <h2>Important Node Update for all New Sites</h2> <strong>Before deploying your GitHub code (next step), you need to set the WEBSITE_NODE_DEFAULT_VERSION variable (in Azure app settings) to 8.5.0 (as shown in the screenshot below). Make this change and <strong>save</strong> before moving ahead. </strong> <a href="http://www.nightscout.info/wp-content/uploads/2015/09/azure-websitenode.png"><img class="wikiImage" style="border: solid black thin;" src="http://www.nightscout.info/wp-content/uploads/2015/09/azure-websitenode.png" alt="Azure node update" width="744" height="85" /></a> <a name="deploy"></a> <h2>3.  Deploy GitHub Code to Azure</h2> After your site has been created, you are ready to deploy the Nightscout code (CGM-remote-monitor) from GitHub. <ul> <li class="listPad"><strong>Click on the web site name. <strong>Note</strong>: You may see the name in a list. You may see the name in a box. <strong>Click the name of your site.</strong></strong> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-clicksitename.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-clicksitename.png" alt="azure-new-clicksitename" width="150" /></a></li> <li class="listPad">Your site's dashboard will open and will look <strong>similar</strong> to the one shown here. <strong>Note: the "All Settings" link has been removed in Azure.</strong> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-dashboard2.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-dashboard2.png" alt="azure-new-dashboard2" width="580" height="390" /></a></li> <li class="listPad">Click <span class="redText">Application settings</span> (which is a link in the panel/column of links) to open the <span class="redText">Settings</span> panel.</li> <li class="listPad">On the Settings panel, scroll down to the <span class="redText">Publishing</span> section, and click <span class="redText">Deployment Options</span>. (Note: previously it was labeled deployment <em>source</em>.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-deploymentsource.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/newazure-deploymentsource.png" alt="newazure-deploymentsource" width="308" height="172" /></a></li> <li class="listPad">In the new panel that opens, click to choose a deployment source. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-choose.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-choose.png" alt="azure-new-deployment-choose" width="313" height="190" /></a></li> <li>In the new panel that opens, choose GitHub from the list. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-source.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-source.png" alt="azure-new-deployment-source" width="310" height="520" /></a></li> <li class="listPad">If this is your first time setting up Azure, you will need to authorize the connection between Azure and GitHub. Follow the prompts.</li> <li class="listPad">Once connected to GitHub, click the <span class="redText">Choose project</span> box. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-chooseproject.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-chooseproject.png" alt="azure-new-deployment-chooseproject" width="335" height="79" /></a></li> <li class="listPad">In the panel that opens, select <span class="redText">cgm-remote-monitor</span> from the list. (It may be the only one you see.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-cgm.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-cgm.png" alt="azure-new-deployment-cgm" width="313" height="203" /></a></li> <li class="listPad">After selecting the cgm-remote-monitor repository, if <span class="redText">master</span> is shown in the <span class="redText">Choose branch</span> box, continue to the next step. If <span class="redText">master</span> is not shown, click the <span class="redText">Choose branch</span> box. In the panel that opens, select <span class="redText">master</span> from the list of branches. (The "master" branch is the official release.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deplyment-branch.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deplyment-branch.png" alt="azure-new-deplyment-branch" width="332" height="137" /></a></li> <li class="listPad">Click the <span class="redText">OK</span> button at the bottom of the <span class="redText">Deployment Source</span> panel. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-okay.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-okay.png" alt="azure-new-okay" width="128" height="54" /></a></li> <li class="listPad">After clicking the OK button, Azure will begin deploying the code. You will be able to watch the progress through a series of dialog boxes and status notes, like these. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deploying.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deploying.png" alt="azure-new-deploying" width="383" height="76" /></a></li> </ul> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deploying2.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deploying2.png" alt="azure-new-deploying2" width="562" height="118" /></a> <ul> <li class="listPad">Once the deployment has completed, the deployment will be shown with a green checkmark indicating the deployment was successful. (<strong>Note</strong>: If the deployment was not successful, you have to retry the deployment.) <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-complete.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-deployment-complete.png" alt="azure-new-deployment-complete" width="355" height="133" /></a></li> <li>If your deployment was successful, move on to the next step.</li> </ul> &nbsp; <a name="configure"></a> <h2>Step 4: Configure Your Website to Use Mlab and Set an API SECRET</h2> <ul> <li style="list-style-type: none;"> <ul> <li class="listPad">From the Settings menu in Azure, click <span class="redText">Application Settings</span>. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-appsettings2.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-appsettings2.png" alt="azure-new-appsettings2" width="150" /></a></li> <li class="listPad">Near the top, under "General Settings," ensure "Always On" is clicked to <span class="redText">off</span>.<a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-alwayson.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-alwayson.png" alt="azure-new-alwayson" width="308" height="47" /></a></li> <li class="listPad">Scroll down to <span class="redText">Connection Strings</span>. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-connectionstrings2.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-connectionstrings2.png" alt="azure-new-connectionstrings" width="366" height="134" /></a></li> <li class="listPad">On the first row, enter <span class="redText">mongo</span> in the first (left) box.</li> <li class="listPad">In the second box, enter your <span class="redText"><strong><em> mongo connection uri</em></strong></span> from the Mlab account. (This should be written on your worksheet). Your connection will look like this one, but you <strong>must</strong> fill in your OWN information, not the sample values shown here:<span style="color: red;">mongodb://databaseUserName:databaseUserPassword@ds012345.mlab.com:12345/databaseName</span></li> </ul> </li> </ul> For example: <span style="color: red;">mongodb://sallyuser:sallypassword@ds012345.mlab.com:12345/mycgm</span> <blockquote class="warning">Note: In March of 2016, mongolab changed to mlab. The syntax above is the new syntax using the mlab format.</blockquote> <!-- OLD syntax: <span style="color: red; class="redText">mongodb://sallyuser:sallypassword@ds012345.mongolab.com:12345/mycgm</span></li> --> &nbsp; <ul> <li class="listPad">In the third box, click the dropdown arrow and select <span class="redText">Custom</span>.</li> <li class="listPad">Once you have entered this information, it will look similar to this:<a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-connectionstrings1.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-connectionstrings1.png" alt="azure-new-connectionstrings" width="570" height="35" /></a></li> <li class="listPad">In the next row, enter <span class="redText">mongo_collection</span> in the first (left) box.</li> <li class="listPad">Enter <span class="redText">entries</span> in the second box. <strong>Note:&lt;/strong &gt;If you used a <em><strong>custom</strong></em> Collection Name in your Mongo setup, type your custom name here instead of "entries." <strong>This is not the recommended setup method.</strong></strong></li> <li class="listPad">Use the dropdown menu to change the type to <span class="redText">Custom</span>.</li> <li class="listPad">Once you have entered this information, it will look similar to this: <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-collection.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-collection.png" alt="azure-new-collection" width="581" height="46" /></a></li> </ul> &nbsp; <a name="apisecret"></a> &nbsp; <ul> <li class="listPad">Set your API SECRET. The API SECRET is used for some of the admin features of your Nightscout site, and some uploaders use REST API Upload (REST) to upload data.As part of the configuration of your site, you need to set an API SECRET. <strong>The API_SECRET value must be a MINIMUM of 12 characters.</strong>To set the API_SECRET, enter <span class="redText">API_SECRET</span> in the first box in the next blank row in Connection Strings. Enter your API_SECRET value (the value you choose for this "passphrase") in the next box. Select "Custom" for the type. (<strong>Note</strong>: You make up the API_SECRET. It can be whatever alphanumeric phrase you wish. If you set up your uploader app first and already used an API_SECRET in configuring the BASE URL, the API_SECRET you enter in Azure must match.)<a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-apisecret.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-apisecret.png" alt="azure-new-apisecret" width="581" height="49" /></a></li> <li class="listPad">If you ever need to edit or see the values of your connection strings, click <span class="redText"><strong>Show connection string values</strong></span> to reveal the hidden information.</li> <li class="listPad">Click <span class="redText">Save</span> at the top of the <span class="redText">Settings</span> panel. <img class="alignnone wp-image-441 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/07/azure-config-save.png" alt="azure-config-save" width="49" height="50" /></li> </ul> &nbsp; <strong>Note</strong>: any time you "save" your information in Azure, you will see a dialog box indicating the application is saving any changes. When the process completes, you will see a dialog box indicating the changes were saved. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-confirmsave.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-confirmsave.png" alt="azure-new-confirmsave" width="378" height="85" /></a> <div class="warning"><strong>Note:</strong> a change in the 0.9.0 release may affect users of older uploader apps, including the Medtronic uploader. If your site does not receive data, you may need to set the following variable in Azure (or Heroku): <span class="redText">AUTH_DEFAULT_ROLES</span> =<span class="redText">readable devicestatus-upload</span></div> &nbsp; <a name="siteloads"></a> <h2>Step 5. Verify Your Site Loads</h2> <ul> <li class="listPad">Verify that your site works by opening a new browser tab/window and entering your site url: http://<strong><span class="redText">YOURWEBSITENAME</span></strong>.azurewebsites.net.</li> </ul> <div class="warning"><strong>Note: <!-- With the 0.9.0 update, --> a "profile" is required for you to view your site.</strong> The very first time you visit the site, you will be prompted to create a profile. Enter your API SECRET to authenticate your site. Then, at the minimum, select the timezone and "save" the profile. (You can always edit it later.) Return to another browser window and load your site (or enter your url again in the same window and hit enter).</div> <blockquote>If your site loads with a black screen showing the time and either dashes or your blood glucose values, your Nightscout site has deployed successfully and is running. <strong>Note:</strong> if you are following the sequence of setup steps shown on this site, you now need to install and configure the uploader app. (If you are using a cabled rig, this means setting up the Nightscout app. If you are using another uploader <strong>or configuring the bridge</strong>, return to the core directions for your specific setup and continue with the next step.) You will <strong>not</strong> see data on your Nightscout site until the uploader app (or bridge) is configured.</blockquote> Plugins you "enabled" will need to be toggled on/off in the settings in the browser. When viewing your site, click the three horizontal bars top right, and scroll down to see the plugins. You can check visibility on/off, and then save the settings. If you wish to have certain plugins always visible, you can set the <span class="redText">SHOW_PLUGINS</span> variable with the value being the plugins you want visible. For example: <span class="redText">SHOW_PLUGINS=<span class="redText">careportal iob cob sage iage cage</span>. <a href="http://www.nightscout.info/wp-content/uploads/2016/10/showplugins.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2016/10/showplugins.png" alt="showplugins" width="338" height="511" /></a></span> <a name="sitefree"></a> <h2>Step 6. Confirm Your Site is Configured as a FREE Site</h2> If your account is new, you have 30 days in which to convert the site to Pay-As-You-Go. In addition to changing to Pay-As-You-Go, it is important that you verify that the correct Pricing Tier is in place to help prevent unexpected charges. (<strong>Note:</strong> There is <strong>no need</strong> to wait until the end of 30 days to convert your site. Do it early to avoid problems!) <strong>We recommend you double-check your site settings by reviewing the following:</strong> <ul> <li class="listPad">Confirm the Subscription type is set to Pay-As-You-Go.</li> <li class="listPad">Confirm the Pricing Tier is set to Free.</li> </ul> <a href="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-reviewfree.png"><img class="wikiImage" src="http://www.nightscout.info/wp-content/uploads/2014/08/azure-new-reviewfree.png" alt="azure-new-reviewfree" width="400" /></a> Directions to review the above settings and make necessary changes appear <a href="http://www.nightscout.info/wiki/faqs-2/azure-2/azure-check">here</a>. <h2>Step 7. Learn More About Your Nightscout Site</h2> To learn about your website's features click <a href="http://www.nightscout.info/wiki/welcome/website-features/funnel-cake-0-8-features">here</a>.  There are many customizable features, such as high and low alarms, high and low alerts (for warning of an approaching high/low), and other custom settings. You also can enable a range of plugins, including CarePortal, IOB (insulin on board), COB (carbs on board), CAGE (canula age), and more. <strong>THIS COMPLETES THE SETUP OF AZURE FOR YOUR NIGHTSCOUT WEBSITE.</strong> <h2>Next: <a title="Installing the Android App" href="http://www.nightscout.info/wiki/welcome/the-android-app">Installing the Android App</a></h2> <!-- OLD INFO: <h2>Reminder Regarding Azure Pay-As-You-Go</h2> <strong style="color: #ff0000;">YOU SHOULD NOW SWITCH TO AZURE'S "Pay-as-you-go" plan!  This will avoid your account being deleted at end of free trial.  </strong> <img class="aligncenter wp-image-926 " src="http://www.nightscout.info/wp-content/uploads/2014/08/Screen-Shot-2014-09-08-at-10.07.36-PM.png" alt="Screen Shot 2014-09-08 at 10.07.36 PM" width="517" height="643" /> To learn more about Azure Management and switching to pay-as-you go, click here -&gt; <a title="Azure Management" href="http://www.nightscout.info/wiki/faqs-2/azure-management">AZURE MANAGMENT</a> &nbsp; <h2>Reminder Regarding Azure Pay-As-You-Go</h2> <strong style="color: #ff0000;">Before your free trial ends, be sure and switch your Azure account to the "Pay-as-you-go" plan. To confirm your account is properly configured so that it remains free (with typical usage), see: <a title="Azure Management" href="http://www.nightscout.info/wiki/faqs-2/azure-management">Azure Management</a>. --> <strong>NEXT:  <a title="Installing the Android App" href="http://www.nightscout.info/wiki/welcome/the-android-app">Installing the Android App</a></strong> (cabled setup only)
Excerpt


OldNewDate CreatedAuthorActions
January 15, 2019 @ 12:32:00 John Weston
January 9, 2019 @ 15:35:02 John Weston
January 9, 2019 @ 15:34:47 John Weston
October 23, 2017 @ 17:42:40 Amy Cowen
September 22, 2017 @ 19:07:01 Amy Cowen
September 22, 2017 @ 19:06:05 Amy Cowen
September 22, 2017 @ 19:05:41 [Autosave] Amy Cowen
March 29, 2017 @ 13:06:42 Amy Cowen
March 29, 2017 @ 13:04:50 Amy Cowen
January 7, 2017 @ 11:52:54 Amy Cowen
January 7, 2017 @ 10:59:32 Amy Cowen
December 15, 2016 @ 11:43:45 Amy Cowen
December 15, 2016 @ 11:43:22 Amy Cowen
December 15, 2016 @ 11:42:01 Amy Cowen
November 1, 2016 @ 20:42:00 Amy Cowen
November 1, 2016 @ 20:36:43 Amy Cowen
November 1, 2016 @ 20:35:23 Amy Cowen
November 1, 2016 @ 20:34:04 Amy Cowen
November 1, 2016 @ 20:32:56 Amy Cowen
November 1, 2016 @ 20:32:10 Amy Cowen
November 1, 2016 @ 18:27:40 Amy Cowen
November 1, 2016 @ 18:25:22 Amy Cowen
October 14, 2016 @ 00:50:33 Amy Cowen
October 14, 2016 @ 00:48:03 Amy Cowen
October 14, 2016 @ 00:41:06 Amy Cowen
August 23, 2016 @ 21:50:04 Amy Cowen
May 2, 2016 @ 23:00:49 Amy Cowen
May 2, 2016 @ 22:58:47 Amy Cowen
May 2, 2016 @ 22:57:34 Amy Cowen
May 2, 2016 @ 22:10:27 Amy Cowen
May 2, 2016 @ 22:10:02 Amy Cowen
May 2, 2016 @ 22:08:58 Amy Cowen
May 2, 2016 @ 22:06:05 Amy Cowen
April 20, 2016 @ 21:14:04 Amy Cowen
April 15, 2016 @ 22:11:49 Amy Cowen
April 15, 2016 @ 21:58:31 Amy Cowen
April 15, 2016 @ 21:58:00 Amy Cowen
April 15, 2016 @ 21:52:52 Amy Cowen
April 15, 2016 @ 21:41:32 Amy Cowen
April 15, 2016 @ 21:40:16 Amy Cowen
April 15, 2016 @ 21:35:58 Amy Cowen
April 15, 2016 @ 21:00:37 Amy Cowen
April 15, 2016 @ 20:59:10 Amy Cowen
April 14, 2016 @ 23:35:54 Amy Cowen
April 14, 2016 @ 23:22:49 Amy Cowen
April 14, 2016 @ 23:21:47 Amy Cowen
April 14, 2016 @ 23:17:27 Amy Cowen
April 14, 2016 @ 23:16:42 Amy Cowen
February 29, 2016 @ 22:59:38 Amy Cowen
February 10, 2016 @ 07:54:02 Amy Cowen
February 10, 2016 @ 07:51:49 Amy Cowen
February 9, 2016 @ 23:04:16 Amy Cowen
February 9, 2016 @ 23:02:25 Amy Cowen
February 6, 2016 @ 19:09:10 Amy Cowen
February 6, 2016 @ 19:06:55 Amy Cowen
February 5, 2016 @ 01:33:58 Amy Cowen
February 5, 2016 @ 01:29:59 Amy Cowen
February 5, 2016 @ 01:28:42 Amy Cowen
February 4, 2016 @ 21:32:33 Amy Cowen
February 2, 2016 @ 23:51:24 Amy Cowen
February 2, 2016 @ 23:50:23 Amy Cowen
January 31, 2016 @ 13:07:52 Amy Cowen
December 29, 2015 @ 09:10:08 Amy Cowen
December 29, 2015 @ 09:07:59 Amy Cowen
December 21, 2015 @ 18:11:00 Amy Cowen
December 21, 2015 @ 18:08:01 Amy Cowen
December 21, 2015 @ 18:06:54 Amy Cowen
December 21, 2015 @ 18:03:12 Amy Cowen
December 21, 2015 @ 18:02:25 Amy Cowen
October 18, 2015 @ 13:44:41 Amy Cowen
October 10, 2015 @ 12:03:55 Amy Cowen
October 10, 2015 @ 11:40:08 Amy Cowen
October 10, 2015 @ 11:39:26 Amy Cowen
October 10, 2015 @ 11:36:36 Amy Cowen
October 10, 2015 @ 11:35:17 Amy Cowen
October 10, 2015 @ 11:33:32 Amy Cowen
October 10, 2015 @ 11:32:41 Amy Cowen
October 10, 2015 @ 11:26:38 Amy Cowen
September 26, 2015 @ 18:38:05 Amy Cowen
September 21, 2015 @ 20:28:18 Amy Cowen
September 21, 2015 @ 20:27:24 Amy Cowen
September 21, 2015 @ 20:26:44 Amy Cowen
September 21, 2015 @ 20:25:29 Amy Cowen
September 21, 2015 @ 20:22:59 Amy Cowen
September 21, 2015 @ 20:21:35 Amy Cowen
August 11, 2015 @ 22:48:15 Amy Cowen
April 16, 2015 @ 12:06:29 Gail DeVore
April 16, 2015 @ 12:05:57 [Autosave] Gail DeVore
March 3, 2015 @ 15:59:33 David Waghalter
March 3, 2015 @ 15:20:29 [Autosave] David Waghalter
March 3, 2015 @ 13:56:41 Gail DeVore
March 3, 2015 @ 13:48:50 Gail DeVore
February 23, 2015 @ 17:03:39 Gail DeVore
January 28, 2015 @ 19:01:26 Gail DeVore
January 28, 2015 @ 18:16:15 Gail DeVore
January 14, 2015 @ 17:46:09 Gail DeVore
January 13, 2015 @ 22:32:35 Gail DeVore
January 12, 2015 @ 21:30:07 Gail DeVore
January 12, 2015 @ 21:29:48 Gail DeVore
January 12, 2015 @ 21:29:16 Gail DeVore
January 12, 2015 @ 21:18:37 Gail DeVore
January 12, 2015 @ 18:31:31 Gail DeVore
January 12, 2015 @ 18:19:46 Gail DeVore
January 11, 2015 @ 15:28:06 Gail DeVore
January 11, 2015 @ 14:26:19 Gail DeVore
January 10, 2015 @ 19:22:05 Gail DeVore
December 29, 2014 @ 16:39:37 Gail DeVore
December 26, 2014 @ 15:54:14 Gail DeVore
December 26, 2014 @ 15:00:41 Gail DeVore
December 13, 2014 @ 14:35:35 Gail DeVore
November 7, 2014 @ 09:13:06 Gail DeVore
October 27, 2014 @ 20:34:47 Gail DeVore
October 27, 2014 @ 20:25:31 Gail DeVore
September 17, 2014 @ 10:26:53 Patrick Drews
September 9, 2014 @ 00:48:54 Gail DeVore
September 5, 2014 @ 08:56:49 Patrick Drews
September 5, 2014 @ 08:56:34 [Autosave] Patrick Drews
September 5, 2014 @ 08:55:19 Patrick Drews
September 5, 2014 @ 08:53:46 Patrick Drews
August 22, 2014 @ 20:48:34 Patrick Drews
August 22, 2014 @ 20:38:02 Patrick Drews
August 22, 2014 @ 20:36:29 Patrick Drews
August 22, 2014 @ 20:35:13 Patrick Drews
August 22, 2014 @ 20:19:38 Patrick Drews
August 22, 2014 @ 20:18:09 Patrick Drews
August 20, 2014 @ 22:56:31 Patrick Drews
August 19, 2014 @ 10:41:56 Patrick Drews
August 17, 2014 @ 10:51:13 Patrick Drews
August 17, 2014 @ 10:49:17 Patrick Drews
August 17, 2014 @ 08:54:16 Patrick Drews
August 17, 2014 @ 08:50:05 Patrick Drews
August 8, 2014 @ 22:55:40 James Wedding
August 8, 2014 @ 11:53:48 Patrick Drews
August 5, 2014 @ 12:21:17 Patrick Drews
August 5, 2014 @ 12:20:33 Patrick Drews
August 5, 2014 @ 12:18:26 Patrick Drews
August 5, 2014 @ 12:14:18 Patrick Drews
August 5, 2014 @ 12:12:03 Patrick Drews
August 5, 2014 @ 12:06:34 Patrick Drews
August 5, 2014 @ 12:04:10 Patrick Drews
August 5, 2014 @ 11:59:21 Patrick Drews
August 5, 2014 @ 11:57:55 Patrick Drews
August 5, 2014 @ 11:57:09 Patrick Drews
August 5, 2014 @ 11:28:51 Patrick Drews
August 5, 2014 @ 11:27:44 Patrick Drews
August 5, 2014 @ 08:47:47 Patrick Drews
August 5, 2014 @ 08:43:47 Patrick Drews
August 5, 2014 @ 08:26:22 Patrick Drews
August 3, 2014 @ 22:35:47 Gail DeVore
August 3, 2014 @ 19:49:40 Gail DeVore
August 3, 2014 @ 19:41:39 Gail DeVore
August 3, 2014 @ 19:17:00 Gail DeVore
August 3, 2014 @ 18:39:36 Gail DeVore
August 3, 2014 @ 18:38:50 Gail DeVore
August 1, 2014 @ 12:28:14 Gail DeVore
July 25, 2014 @ 12:57:39 James Wedding
July 25, 2014 @ 12:57:02 James Wedding
July 22, 2014 @ 09:12:23 [Autosave] James Wedding
July 22, 2014 @ 09:08:50 James Wedding
July 21, 2014 @ 10:14:31 James Wedding
July 20, 2014 @ 15:28:46 James Wedding
July 18, 2014 @ 11:19:41 James Wedding
July 17, 2014 @ 13:39:35 James Wedding