- Open a terminal
sudo pip3 install virtualenv
- Navigate to the folder which contains this repository
- Change directories
cd
into the new directory (egwebsite
) - Run the command
virtualenv newenv
- Activate the virtual environment with
source newenv/bin/activate
-
Now the pip dependencies can be installed with
pip install -r requirements.txt
-
At this point,
cd ..
back to the base level of the directory -
Then you can run
python3 manage.py runserver
-
Visit
localhost:8000
and the site will be active
*** If you want to exit the virtual environment, use the command deactivate