- Make sure you have python3 installed on your system.
- Make a .env file in the backend folder
- Copy the contents of the .env.example file to the .env file
To check this
python --version
Python 3.10.5
- Install virtualenv in case you haven't
pip install virtualenv
- Activate the virtual environment
virtualenv venv
venv\scripts\activate
- Install the necessary python packages
pip install -r requirements.txt
- Go to the project directory
cd backend
- Migrate the models
python manage.py makemigrations
python manage.py migrate
- Run the server
python manage.py runserver