Create a python3 virtual environment
python3 -m venv sms19-env
source env/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py makemigrations main
python manage.py migrate
python manage.py migrate main
Create a superuser for Django
python manage.py createsuperuser
python manage.py runserver 0.0.0.0:8000
Verify that the Server being used is MySql
./manage.py shell
>>> from django.db import connection
>>> connection.vendor
- Migrate after every pull from the repository
- Please raise issues if the above procedure does not work for your system.
- Feel free to make necessary changes.
- Please migrate before running the server.