- Please follow this tutorial and the linked articles to configure PostgreSQL Database
- Database Name : 'sms19'
- User: 'sms19admin'
- Password: 'password'
python3 -m venv sms19-env
source env/bin/activate
pip install -r requirements.txtpython manage.py makemigrations
python manage.py makemigrations main
python manage.py migrate
python manage.py migrate mainpython manage.py createsuperuserpython manage.py runserver 0.0.0.0:8000./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.