A quiz application created in django to conduct mcq quizzes. The application has the following features :
- Add/update/delete questions from admin.
- JavaScript timer
- Random questions from set of questions
- Production ready
- Install python3
- Install pip for python3
- Install virtualenv
pip install virtualenv
orpip3 install virtualenv
- Create virtual environment and cd into it
virtualenv django-quiz --python python3 && cd django-quiz
- Clone git repository into src folder and cd into it
git clone <url> src && cd src
- Install requirements
pip install -r requirements.txt
orpip3 install -r requirements.txt
- Make appropriate changes to settings module and make migrations using
python manage.py makemigrations
and thenpython manage.py migrate
- Run using
python manage.py runserver
- Create superuser to log into admin
python manage.py createsuperuser
- Add questions from admin
- Conduct the quiz
- To get results, run the results script
python manage.py runscript -v2 results
- To send reviews, run the reviews script
python manage.py runscript -v2 reviews
WARNING : Reviews script will send emails to all participants. Make sure to update email settings in settings module. Try not to use fake emails to avoid sending emails to random people.