A simple dashboard for data related to your baby's growth.
Uses flask and SQLAlchemy for the webapp and bokeh for data visualization.
Note that this currently uses HTTP, so e.g. your password are transmitted in clear text. Do not use this app as is on the web. If it is running behind a NAT on your home network it should be fine.
Clone the repository to a local folder
git clone https://github.com/graipher/baby_dashboard.git
Create a virtual environment
python3 -m venv venv
source venv/bin/activate
Install required files
pip install -r requirements.txt
Initialize the database
./setup_db.py
Start the local development server
flask run
Visit the webpage
http://localhost:5000
This assumes that docker is already set up and running.
Build the image
docker build -t baby_dashboard ./
Run it as a self-restarting daemon
docker run -d -restart=always -p 80:80 -t baby_dashboard