This is the competition website for Student Robotics.
This includes the version of the homepage shown during the competition as well as the specific pages which the progress of the teams and matches at the competition.
Note: This website makes heavy use of the SR Competition API which is part of the separate SRComp suite. These instructions only contain information about these pages; it is assumed that the reader will configure an SRComp-HTTP instance separately.
-
See
.ruby_version
for the precise version, though 3.3 or above will probably be fine. -
Install Bundler (2.3 or above) and Rake.
Depending on how you have installed Ruby these may already be installed.
$ gem install bundler rake
-
Start the app in development mode
$ rake dev
-
View the site at https://localhost:4000/competition-website/comp/
The site defined in this repo is deployed onto GitHub Pages (using GitHub Actions) and surfaced at https://studentrobotics.org/comp/.
During competition events the main page is also used as a takeover of our
website homepage. This is toggled via enable_competition_homepage
in our
ansible config.