This is a web application that displays Jeopardy data on the web and uses data mining techniques to help hopeful candidates study for the game.
- Install Django (https://docs.djangoproject.com/en/1.10/howto/windows/)
- Clone or download the repository
- Download the Jeopardy data in CSV format. I got the data from the Reddit page we started from (https://www.reddit.com/r/datasets/comments/1uyd0t/200000_jeopardy_questions_in_a_json_file/ -- Look for the CSV link)
- Run the following command
python importdata.py /path/to/CSV/file
replacing /path/to/csv/file with the path to the Jeopardy CSV file - This will output a data.json file. Then run
python manage.py loaddata /path/to/data.json
. This will take a while but eventually the data will import. - Then run
python manage.py runserver
to start the server. The URL is 127.0.0.1:8000/
- Run
python manage.py makemigrations
- Run
python manage.py migrate
- Flush the database
python manage.py flush
- Import category data
python manage.py loaddata category.json
- Import questions
python manage.py loaddata final2.json