Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

mysteryhunt/huntskeleton

 
 

Repository files navigation

Hunt 2018

This is pretty incomplete, but hopefully helps with getting the basics working.

Components

There are 4 basic components:

  • cube: The Java REST API. This is responsible for tracking the state of the hunt
  • present: The main frontend/site
  • submit: A separate app for submitting answers/callins
  • admin: Internal management interface

Setup

Run docker-compose up --build to start all of the various services. To access the web services, go to:

Logins

The development config has a handful of pre-configured usernames.

  • adminuser / adminpassword
  • writingteamuser / writingteampassword
  • testerteam / testerteampassword
  • testerteamN / testerteamNpassword (for N from 2-70)

(Note: testerteam passwords aren't consistent in formatting with admin or writingteam passwords)

All 3 web services use the same session cookie, so if you're logged into one you're logged into all. Which is a bit silly, since if you can login to admin, your account isn't able to use present and vice versa.

(Incognito sessions are really useful for this)

You can always logout by going to http://localhost:5002/logout

"Starting" Hunt

For development, cube uses an in-memory database that's wiped every time you restart it. Before you can test present, you have to start hunt.

Login to admin using adminuser, click "Admin Tools", and click the two buttons under "Start Hunt".

You'll have to do this every time cube starts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 76.4%
  • HTML 11.9%
  • Python 7.9%
  • CSS 2.2%
  • JavaScript 1.5%
  • Shell 0.1%