Check out:
After you have pulled the repo run:
bundle install
rake db:migrate
rake db:seed
rails server
There are two docker images built from the source. A production one and a staging one. They are published on Docker Hub.
When new code is pushed to any of the two branches the corresponding images are built.
Due to a missing feature after creating a new edition, all the existing users need to be updated.
User.joins("contestants":"edition").where("contestants":{"edition":1}).each {|u| u.update_attribute(:registration_step_number, 1)}