instant_finalists_amount is the amount of teams that instantly are in the finals after the group stage ends. intermediate_round_participants_amount is the amount of teams that have a chance to advance after group stage but must play a relegation game to actually do so. Both of these values need to match, so that instant_finalists_amount + (intermediate_round_participants_amount / 2) is a power of 2. Or to be more precise, the power of two that is saved in playoff_teams_amount of the tournament. |
||
|---|---|---|
| app | ||
| bin | ||
| config | ||
| db | ||
| doc | ||
| kubernetes | ||
| lib/tasks | ||
| public | ||
| spec | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .hound.yml | ||
| .rspec | ||
| .rubocop.yml | ||
| .ruby-version | ||
| .travis.yml | ||
| Dockerfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| README.md | ||
| Rakefile | ||
| config.ru | ||
| docker-compose.yml | ||
| sonar-project.properties | ||
README.md
turniere-backend
Ruby on Rails application serving as backend for turnie.re
Quick install with Docker
Installation
# install dependencies
$ bundle install
# run migrations
$ rails db:migrate
Running
Development (without mail confirmation and separate database):
$ RAILS_ENV=development rails server
Generate diagrams
$ rails diagram:all_with_engines