-
Notifications
You must be signed in to change notification settings - Fork 233
FAQ AND TIPS FOR DEVELOPERS
## 0. Where is the old quickstart guide it had handy developer comments:
Right here >>The Quick Start Guide (Old Version)
## 1. Authentication:
If your mongodb instance requires a user name and password edit the database_configuration.json
and use a connection string like the following:
"url": "mongodb://adminuser:[email protected]:port/dbname"
## 1.5 How do I compile the Android Uploader With Eclipse:
https://github.com/nightscout/nightscout.github.io/wiki/How-do-I-use-eclipse-to-compile%3F
## 2 How do I compile the android uploader with Android Studio:
https://github.com/nightscout/nightscout.github.io/wiki/How-do-I-work-with-Android-Studio
## 2.5 Need mongodb then type:
npm install mongodb (even if you access mongodb remotely you will still need the commands locally)
## 3. Need socket.io then type:
npm install socket.io (Due to things like repository issues you might need this manual install)
## 3.5 Getting an error about node-static then type:
npm install node-static
## 4. Wondering about connecting your android device to your dexcom:
Try a micro USB OTG to USB cable adapter
## 5. Heard about getting your blood glucose on the pebble watch and want to see the code:
Check out this link https://github.com/jasoncalabrese/cgm-pebble
## 6. How can I see and change my data in mongodb, I would like to add finger sticks:
The Necroscope loves robomongo http://robomongo.org/
## 7. Nightscout seems to be working but no data is showing in the charts:
Is the date on your dexcom receiver set correctly? It might not be.
## 8. When hosting on other platforms then azure, here is how to auto restart node:
https://github.com/nightscout/nightscout.github.io/wiki/Restart-Node.js-automatically
##9. Many of us use Intellij but yes you can use visual studio with node.js (very cool):
https://github.com/necroscope/nodejstools
BOWER NOTES: If you don't get a bower directory under node_modules: Bower may not have installed if so then type "npm install bower" followed by "bower install". Bower install requires GIT to be in your path. Install git if you don't have it and follow this guide. http://blog.countableset.ch/2012/06/07/adding-git-to-windows-7-path/
If you still get command not found on windows try this: Add the npm's binary folder to the path. Find the location of your npm global binaries: type 'npm config get prefix' This path may look something like C:\Users\username\AppData\Roaming\npm. Add the path above to your system Path. Open the Windows Control Panel, search for environment, then click on either edit environment variables for your account, or Edit the system environment variables`. Find the variable named Path or PATH, or create one if it doesn't exist. Paste the path from step 1 here (; delimited). You need to restart your command prompt window.
You should now be able to enter bower commands.
Check out: https://github.com/nightscout/nightscout.github.io/wiki/So-you-want-to-help-code ///////////////////////////////////////////////////////////////////////////////////////////////////