Mentorship backend repository
-
Create a virtualenv named
venv
in the existing repository by the commandvirtualenv venv --python=python3
this will use python3 as the default python version for the environment. Activate the virtual environment usingsource venv/bin/activate
. -
Install the project requirements using the command
pip3 install -r requirements.txt
-
Run the Django server using
python manage.py runserver
-
If you are contributing to the repo, verify your changes by the Django Admin Panel.
-
Deactivate the virtual environment
venv
with the commanddeactivate
.