To run the code do the following:
- Create a virtual environment using Conda or Python Venv
Conda:
conda create --name project-b-11 python=3.11
conda activate project-b-11
pip3 install -r requirements.txt
Python Venv (Windows -> so adapt to Linux/Unix)
python3 -m venv venv
venv\Scripts\activate
pip3 install -r requirements.txt
- To access the login page run:
python manage.py makemigrations
python manage.py makemigrations whistleblower
python manage.py migrate
python manage.py runserver
- To begin, you need to create a site user from:
localhost/admin
Click users, then click create user group siteAdmin
- Then all required setup is complete.