The International Aerobatic Club (IAC) is calling for proposals for maintenance and development of this project. Please refer to the call for proposals for details. Please also see, contributions below.
This project contains code for a Ruby-on-Rails web site that displays data about aerobatic contests, including contest results, pilot standings, and judge metrics.
Find this deployed on the web site of the International Aerobatic Club (IAC).
For more information contact Douglas Lovell
To make this work locally:
.ruby-version
.
We find rbenv to be most useful.
rbenv install `cat .ruby-version`
gem install bundler
config/admin.yml.sample
to config/admin.yml
config/database.yml.sample
to config/database.yml
> mysql -u root
):
cdb_dev
and cdb_test
databases
mysql> create database cdb_dev \
-> character set utf8mb4 collate utf8mb4_unicode_ci;
cdbusr
user with global permissions to the two databases
mysql> create user 'cdbusr'@'localhost' identified by 'ei9vDmJN';
mysql> grant all privileges on cdb_dev.* to 'cdbusr'@'localhost';
mysql> grant all privileges on cdb_test.* to 'cdbusr'@'localhost';
The password in the "create user
" command matches that
in database.yml
. The user name, "cdbuser
" matches
that in database.yml
.
bundle install
rails db:setup
RAILS_ENV=test rails db:setup
Having done that,
rspec spec
" should run the older tests.rails test
" should run the newer tests.rails server
" should
start a server at http://localhost:3000
.We follow GitHub Flow. Any pull request you make will receive a response. Issue fixes are welcome, especially when they include tests. Tests are welcome. If your contribution might require significant time and effort, it's safest to get in touch first with your proposal.