This is a fork of the GAOC Southeast Interscholastic Scoring System used for the 2019 QOC Junior Nationals meet.
This is just a couple mods for QOC’s specific meet.
-
Use
Stnoinstead ofDatabase_ID. -
Teams are created during Runner import (the OE2010 file exported from EventReg).
-
Team.name=Text2column. -
Team.entryclass=Shortcolumn (class on short orienteering course) -
Team.JROTC_branch= Currently hardcoded list or “Unknown” ifText3contains JROTC and school not in hardcoded list. -
Team.school=Text1or nil ifText3contains Club to indicate a Club team. -
Team.category= Club, School or College depending on search ofText3.
-
-
Runners are assigned to Teams based on together:
Name,Class,JROTC_Branch,SchoolandCategory. If any one of those fields do not match, a new Team is created and the runner assigned to it. -
Importing results
-
The
Runner.importis re-ran on the results file. If OE is setup to periodically export results, the scorer can make team / runner changes in OE and not have to worry about reimporting on the computer that is displaying results.
-
-
Layout has been adjusted for display of both Interscholasic and Intercollegiate classes.
-
Clone the repo
-
Install gems
gem install -v 1.3.0 bundler (optional: --user-install) bundle install mkdir results
-
Set up the database
bundle exec rake db:create bundle exec rake db:migrate
-
Run
bundle exec rails s
-
From the main page, select “Import Runners / Teams”
-
From the Runners page select the Choose File, then select Import_Runners.
-
Copy the OE results file in the the results directory.
-
The file will be auto detected and processed.
-
Runners / Teams will be clear / re-imported from the results file.
-
Caution, the file will be deleted at the end of processing.
-