-
Notifications
You must be signed in to change notification settings - Fork 31
Configuration
- Database config:
config/database.yml - Secret keys:
config/secrets.yml - Config of development, test, production:
config/environments/*.rb.
Production:
-
S3_KEY,S3_SECRET,S3_BUCKET- Used for syncing S3 certificates between the CTF VPN server and the scoreboard. -
RAILS_SERVE_STATIC_FILES- More information: https://devcenter.heroku.com/changelog-items/617 -
RAILS_LOG_TO_STDOUT- More information: https://blog.heroku.com/container_ready_rails_5#stdout-logging -
SENDGRID_USERNAME- Used for https://elements.heroku.com/addons/sendgrid -
SENDGRID_PASSWORD- Used for https://elements.heroku.com/addons/sendgrid -
APP_URL- Used in order to properly generate email links in mailers.
Secret:
-
SECRET_KEY_BASE- https://medium.com/@michaeljcoyne/understanding-the-secret-key-base-in-ruby-on-rails-ce2f6f9968a1
Sentry:
-
SENTRY_DSN- https://elements.heroku.com/addons/sentry
The Game is a singleton object within the application. Everything the application does depends on a Game being created.
The game has several configuration options that are required (bold) and optional. When setting up your game, please refer to the below explanations to pick appropriate values.
Title: The title of the game. The title of the game is intended to be the title of your event. The title of the game will appear in automated emails sent to competitors, on the application's index page, on the navbar of the application. Example: Cyber Challenge 20XX.
Start: When the game will "open". This is the beginning of the competition and when competitors will be able view challenge descriptions and to submit flags.
Stop: When the game will "close". This is the end of the competition and when competitors will be unable to view challenge descriptions and submit flags.
Description: A description of the game that is visible on the application's index page. This variable is a free text box that supports Markdown formatting. The description should be used to provide participants introductory or logistical information.
Terms of service:
Disable flags an hour graph:
Organization:
Contact url:
Footer:
Team size:
Do not reply email: An email address, which will be used as the 'from' address when the application sends automated emails.
Contact email: An email address where participants can reach the competition organizers. Typically this email address is monitored throughout the registration period and the competition so that participants with questions can reach out and get answers. This email address is displayed on the application's index page under the "Help I'm Stuck!" subheading.
Open source url:
Prizes available:
Recruitment text
Enable completion certificates:
Completion certificate template:
Terms and conditions:
Type: The application configures itself differently based on what type of game is selected. Select the most appropriate. Available choices: "PointGame" or "PentestGame". PointGame: Is the traditional jeopardy style game where challenges are arranged under a category grouping. PentestGame: A unique game type designed for the penetration test of feature implementations. Scoring is based off a combination of attacking, defending, and implementing features.