Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 750 Bytes

README.md

File metadata and controls

44 lines (35 loc) · 750 Bytes

django-chartjs

integrating django and chartjs using channels package

=======================================================

Setup The project

  1. Clone the repository:
git clone https://github.com/sinasezza/django-chartjs.git
cd django-chartjs
  1. create a virtual environment & activate it(Optional):

macOs/Linux Users

python3 -m venv venv
source ./venv/bin/activate

Windows Users

python -m venv venv
venv\Scripts\activate
  1. Install dependencies:
pip install pip-tools
pip-sync requirements.txt
  1. make migrations
python manage.py makemigrations
python manage.py migrate
  1. run the http server
python manage.py runserver