This project uses python version 3.9.5 and Django version 3.2.4
- Run
pip install -r requirements.txtto install the dependencies.
It is recommended to use a virtual environment.
Go to the project root directory
- Run
python manage.py makemigrationsto make migration files - Run
python manage.py migrateto apply the migrations to the database - Run
python manage.py checkto check for any errors
If no errors from migrations
- Run
python manage.py runserverto run the server - The server should open in
http://localhost:8000/ - Use
Ctrl + CorCtrl + pause/breakto shut down the server
- Run
python manage.py createsuperuserto create a superuser to log into the admin panel - Give
username, email & passwordof choice - Go to
http://localhost:8000/admin/to log into the admin panel
- Run
python manage.py testto test the application
To get more help on Django Command line run python manage.py help or go check out the django-admin and manage.py page.