Skip to content
FrozenFOXX edited this page Feb 8, 2020 · 1 revision

Gloom is the webserver component that acts as both scoreboard and interface for the game.

Running the Server

Running the server is relatively straightforward. The following steps assume you have installed the prior requirements and cloned this repository.

  • Place all desired Challenges into the challenges directory.
  • Place desired level into the levels directory.
  • Change into the gloom directory.
  • bundle install
  • Run the setup script. This will guide you through creating a configuration to load interactively.
  • The script will output a YAML configuration file with the name you chose (will assume test.yml)
  • Run ./setup test.yml to configure Gloom.
  • SECRET_KEY_BASE=$(rails secret) rails server -b 0.0.0.0
Clone this wiki locally