- VS Code latest
- Python LTS
- virtualenv (pip install virtualenv)
- django (from venv => pip install django)
- Install VS Code + Python + virtualenv
- Create virtual environment (virtualenv venv)
- Run virtual environment (venv\Scripts\activate.bat for Windows || source venv/Scripts/activate)
- Install django (pip install django)
- (optional, could be removed from settings.py) Install debug toolbar (pip install django-debug-toolbar)
- Install django-google-charts and trailling modules (pip install django-google-charts, pip install django-qsstats-magic, pip install python-dateutil)
- Run project server (cd graduationwork; python manage.py runserver)
- Project will be available on http://127.0.0.1:8000/
- Change something in models.py
- python manage.py makemigrations automated_system
- python manage.py migrate
python manage.py graph_models -a -o myapp_models.png
python manage.py runserver 0.0.0.0:8000
Login
== Password
admin == admin
manager == manager
regular1 == regular1
regular2 == regular2
regular3 == regular3
regular4 == regular4