Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Open Trivia Quiz

This dynamic web application hosts trivia quiz games, that allows for the creation and participation of tournaments. Developed using Django, MySQL and the Open Trivia Database RESTful API. Includes robust functionality, MVC architecture and automated testing.

An admin user is able to create tournaments with basic information such as name, start and end dates, advanced settings include various categories and difficulties to select from. When a user logs in, they are displayed a list of active and upcoming tournaments in which they can participate. Their scores are recorded and displayed at the end. Additionally, displays a list of users with high scores for past tournaments.

Getting Started

  • Pull down the repo
  • Download python, this will include pip to allow you to download packages
  • Open command prompt and navigate to the mysite folder
  • Run python runserver, leave this running in the background
  • Open an internet browser and navigate to http://localhost:8080/


  • Download a python editor
  • Download all required packages found in requirements.txt using pip
Python editor example: PyCharm


App Server

  1. Download a python editor
Recommended editor: PyCharm
  1. Pull the repo
  1. Open mysite/ in PyCharm
  2. Click 'Configure Python Interpreter' in the top right of the window
Will be in a yellow alert bar that will drop down
  1. In the top right of the new window click the cog then 'Add Local...'
  2. Check New environment and choose a location for the virtual environment
  3. Change the base interpreter to be python 3.6 or higher
If using polytechnic computers select the option 'C:\Program Files(x86)\Python36-32\python.exe'
  1. Check 'Inherit global site-packages' and press ok
  2. You will now have a virtual environment named venv
  3. Open command prompt and navigate to it
Any command shell will work like powershell
  1. Inside venv run '.\Scripts\activate'
You should now be running in your environment you will have (venv) before your command prompt
  1. Now navigate to the repo
  2. Run the command pip install -r requirements.txt this will download all the packages needed
  3. Now navigate into the vda folder, there should be a file called in here
  4. Run the command python runserver
Keep this running in the background
  1. Now open an internet browser and navigate to http://localhost:8080
Congrats you have opened the project

Built With


  • mysqlclientrequests
  • Django==2.0.3
  • pytz==2018.3


  • Fawaz Khan Dinnunhan
You can’t perform that action at this time.