Demo for Django Chartflo
Clone the repository and install the dependencies:
virtualenv -p python3 chartflo
cd chartflo
source bin/activate
git clone https://github.com/synw/django-chartflo-demo.git
cd django-chartflo-demo
pip install --no-cache-dir dataset
pip install -r requirements.txt
Make migrations and run them to create the Sqlite database:
python3 manage.py migrate
python3 manage.py createsuperuser
Run the management command to generate data and initialize the dashboards:
python3 manage.py init_timeseries
python3 manage.py runserver
Go to /dashboards/timeseries/
Extra management commands are available: delete_timeseries
to delete all the data and pipeline
to run the
data pipeline to regenerate the charts.
Optional: run the Django rq worker: python manage.py rqworker default
: the charts and widgets will be regenerated on
every save of the Serie model