Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.1 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.1 KB

Django Interactive Charts

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment:

    $ python3 -m venv venv && source venv/bin/activate
  3. Install the requirements:

    (venv)$ pip install -r requirements.txt
  4. Apply the migrations:

    (venv)$ python manage.py migrate
  5. Populate the database with randomly generated data (amount = number of purchases):

    (venv)$ python manage.py populate_db --amount 2500
  6. Create a superuser, and run the server:

    (venv)$ python manage.py createsuperuser
    (venv)$ python manage.py runserver
  7. You can then see the charts here: