Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/DarrenRiedlinger/glucose-tracker

A simple web application for keeping tracking of blood glucose levels. Written in Python using the Django framework.
https://github.com/DarrenRiedlinger/glucose-tracker

Last synced: 3 months ago
JSON representation

A simple web application for keeping tracking of blood glucose levels. Written in Python using the Django framework.

Lists

README

        

Glucose Tracker
===============

A simple web application for keeping track of blood glucose levels. Written in Python using the Django framework.

Main Site: http://www.glucosetracker.net

Live Demo: http://demo.glucosetracker.net

Features:

* Simple, easy to use. Entering glucose data should be faster than finding a pen and paper and writing down the number. Fields have pre-set values where it makes sense (such as the date, time, and category based on time of day).
* Send glucose data via email. Email it to your doctor before your visit, no more carrying log books (and you're saving trees)! Can be sent as a CSV or PDF attachment.
* Reporting. Simple reports to see trends on how your diabetes is doing. Highlight how many times you have lows and highs. Show averages by day and category using nice-looking charts and graphs.
* Data filtering. Advanced filtering: filter by glucose range, date range, category, tag, and notes.
* Tagging. An optional tag field to help further organize and make sense of your data. For example, it might be useful to add tags to a record such as: exercise, sick, insulin, fasting, etc.
* A1C estimation. Estimate A1C based on data from the last 3 months.
* Mobile friendly. Layout adapts to screen size.

Some point in the future:

* A simple Android app that works offline and auto-syncs to the remote database via REST calls.

To Do List: https://trello.com/c/ZN9ualI3

Installation/Running the App
----------------------------

1. Install the required libraries listed in the requirements file with pip: pip install -r requirements.txt
2. If you just want to run a demo of the app, use the settings/localdemo.py file which uses an SQLite database and will be created automatically. Otherwise, for development, please use PostgreSQL and the settings/local.py file. Set the database settings and environment variables accordingly.
3. Run the syncdb command: e.g. python manage.py syncdb --settings=settings.localdemo
4. Run the South migration: e.g. python manage.py migrate --all --settings=settings.localdemo
5. (Optional) Populate your database with dummy data: e.g. python manage.py load_random_glucose_data jsmith --settings=settings.localdemo (note that 'jsmith' can be changed to any username you like, the password will always be 'demo').
6. Run the local web server: e.g. python manage.py runserver --settings=settings.localdemo

Live Demo
---------

A live demo is available at: http://demo.glucosetracker.net

This project uses Travis CI to auto-deploy the latest code from the master branch to the demo site hosted on Heroku on git push.

3rd-Party Apps/Libraries/Plugins
--------------------------------

GlucoseTracker uses the following:

* Twitter Bootstrap 3 (http://getbootstrap.com)
* South (http://south.aeracode.org)
* Django Crispy Forms (http://django-crispy-forms.readthedocs.org/en/latest)
* Django Braces (http://django-braces.readthedocs.org/en/v1.2.2/)
* Django Compressor (http://django-compressor.readthedocs.org/en/latest/)
* Bootstrap DateTimePicker (http://eonasdan.github.io/bootstrap-datetimepicker/)
* Datatables (http://datatables.net)
* Highcharts (http://www.highcharts.com/)