Skip to content

Project-Glu: gluing some existing things together to make managing my son's T1D a easier and safer

Notifications You must be signed in to change notification settings

brandonarbiter/project-glu

 
 

Repository files navigation

Project-Glu

The goal of Project-Glu is to use a small amount of glue to bring lots of existing things together to make managing my son's T1D easier and safer. The intial focus is on data from the Dexcom G4, but later I'd like to include carbs, insulin, and activity data.

current status

I have a forked version of @jcostik's original-android-app running on a Moto G and have it posting simple json to this web app, I'm planing to replace this with a locally running instance of the tidepool platform.

I also have a forked version of NightScout that uses the same mongo db as the basic web-app and a forked version of cgm-pebble that connects to the project-glu endpoint to display the current BG value on a Pebble watch.

For quick, easy, and repeatable deploys I'm using vagrant. To give it a try follow these steps:

  1. clone repo git clone https://github.com/jasoncalabrese/project-glu.git; cd project-glu
  2. install vagrant
  3. setup a digital ocean account: use promo code 'SSDMAY10' for 2 free months - link includes my referral code
  4. install https://github.com/smdahlen/vagrant-digitalocean
  5. configure dropbox: https://github.com/andreafabrizi/Dropbox-Uploader
  6. Set ENV VARS * use the Digital Ocean api page to find your values for: DO_CLIENT_ID, DO_API_KEY * DB_CONF="/Users/<YOU>/.dropbox_uploader" OR DB_CONF="/home/<YOU>/.dropbox_uploader"
  7. vagrant up --provider=digital_ocean and wait (I'm using a mac and have no idea if this would/could work from windows)
  8. done

Running the vagrant up command above should have:

  • launched an brand new server at digitalocean, called a droplet ($5/month)
  • installed node, mongo, git, nginx, etc
  • cloned all the required repos
  • ran the required setups: npm, bower, grunt, etc
  • downloaded a backup from your dropbox (if configured)
  • started everything
  • installed a cron script that runs nightly to backup data to dropbox

Once all of that is done and assuming there were now big errors you should be able to:

In links below replace YOUR_DROPLET_IP with the IP address of your droplet, this should be one of the last lines after running vagrant up or you can find it at digital ocean

next steps

Tracking ideas/progress on trello

-@jasoncalabrese

About

Project-Glu: gluing some existing things together to make managing my son's T1D a easier and safer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published