A fork of babybuddy so that I can build a tracker for my grown-ass self.
Go to file
Christopher Charbonneau Wells f6dd38a891 Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
api Replace custom API filters implementation with django-filter. 2017-11-02 06:05:12 -04:00
babybuddy Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
core Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
dashboard Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
gulpfile.js Use visibilityjs and momentjs to update a running timer when it's detail page becomes visible. 2017-10-27 22:28:38 -04:00
reports Refactor reports graphs in to separate files. 2017-11-03 23:03:24 -04:00
.gitignore Update Pipfile. 2017-10-22 14:43:09 -04:00
.travis.yml Refactor gulp commands and travis config for whitenoise integration. 2017-10-23 13:50:20 -04:00
LICENSE Add LICENSE and README. 2017-10-22 16:00:29 -04:00
Pipfile Add psycopg2 requirement for Postgres functionality. 2017-10-23 09:06:17 -04:00
Pipfile.lock Add psycopg2 requirement for Postgres functionality. 2017-10-23 09:06:17 -04:00
Procfile Add Heroku Procfile. 2017-10-23 04:37:23 -04:00
README.md Update screenshot and add mobile screenshots. 2017-10-27 23:20:52 -04:00
app.json Shorten app.json description to meet below 140 characters requirement. 2017-10-23 20:24:53 -04:00
manage.py Set default settings file in manage.py and wsgi.py. 2017-10-22 16:19:59 -04:00
package-lock.json Use visibilityjs and momentjs to update a running timer when it's detail page becomes visible. 2017-10-27 22:28:38 -04:00
package.json Use visibilityjs and momentjs to update a running timer when it's detail page becomes visible. 2017-10-27 22:28:38 -04:00
screenshot.png Update screenshot and add mobile screenshots. 2017-10-27 23:20:52 -04:00
screenshot_mobile.png Update screenshot and add mobile screenshots. 2017-10-27 23:20:52 -04:00

README.md

Baby Buddy

Build Status Coverage Status License

A buddy for babies! Helps caregivers track sleep, feedings, diaper changes, and tummy time to learn about and predict baby's needs without (as much) guess work.

Baby Buddy desktop view

Baby Buddy mobile views

Demo

A demo of Baby Buddy is available on Heroku. The demo instance resets every hour. Login credentials are:

  • Username: admin
  • Password: admin

Deployment

⚠️ Baby Buddy is still in early development and does not yet have a stable production deployment flow. ⚠️

Heroku

Deploy

Once the app is deployed, log in with the default credentials (admin/admin).

Development

Installation

pip install pipenv
pipenv install --dev
npm install -g gulp-cli
npm install
gulp migrate
gulp

Open http://127.0.0.1:8000 and log in with the default user name and password (admin/admin).

Fake data

Add some fake data to the database with the following command:

gulp fake

By default, fake creates one child and 31 days of random data. Use the --children and --days flags to change the default values, e.g. gulp fake --children 5 --days 7 to generate five fake children and seven days of data for each.

Testing

Tests require static files to be collected, it may be necessary to execute gulp build && gulp collectstatic before tests (if static files have changed).

gulp test