Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 1.8 KB

README.md

File metadata and controls

37 lines (33 loc) · 1.8 KB

The Pursuit OTH

An OTH (Online Treasure Hunt) app based on Python/Django. It is forked from this project. It was used to host The Pursuit 2016 organised by PESITSouth ACM, that saw participation from over 400 users from 20+ countries.

Features

  • Any number of questions can be added using a web-based GUI (Django admin), no coding required.
  • Uses randomly generated image names so users can't see other level images by guessing the URL.
  • User can only view the current level.
  • Supports three types of questions/hints - text, image and hidden text (HTML comment).
  • In-built support for login, registration and session management.
  • A leaderboard that takes both the level, and completed time into account.
  • Winners are separately indicated in the leaderboard.
  • A start page with rules, and a finish page for the users who complete the OTH.

Instructions

  1. Set up a virtual environment and switch to it. (Optional, but recommended.) Following command can be used with virtualenv and virtualenvwrapper installed.
$ mkvirtualenv oth
  1. Install development or production dependencies, based on the environment.
$ pip install -r [ requirements-dev.txt | requirements-prod.txt]
  1. Create super-user for Django admin site.
$ python manage.py createsuperuser
  1. Run the app locally
$ python manage.py runserver
  1. Open localhost:8000/admin and login using previously generated credentials to add questions.

Credits

Thanks to code-haven for the original project.

Author

Built by Amjad Ali for inGenius 2016 on behalf of PESITSouth ACM.