pip install django
pip install djangorestframework
apt-get install libmysqld-dev
apt-get install python-dev
pip install mysql-python
pip install django-cors-headers
pip install PyMysql
- add a File object values(name="/", file_type="directory", parent="None")
- add a File object values(name="user", file_type="directory") and its parent should be the above one
python manage.py migrate
python manage.py runserver
P.S. pages should be transmitted through nginx, not django