This project is an online examination portal built with Django.
- Python 3.8.2 is needed to run this project.
- Install dependencies from
requirements.txt.
- Open a terminal in the
Examfolder. - Install the required packages.
- Copy
.env.exampleto.envand fill in the values. - Run:
python manage.py runserverIf there are no errors, the website will run on:
http://127.0.0.1:8000/
The main Django project is inside the Exam directory.
This repo is prepared for low-risk deployment on PythonAnywhere without a Django upgrade first.
- Set
DEBUG=False - Set
ALLOWED_HOSTSto your domain, for exampleyourusername.pythonanywhere.com - Run
python manage.py migrate - Run
python manage.py collectstatic
See DEPLOY_PYTHONANYWHERE.md for the full checklist.