Go to file
Daniel Schädler 7d007c0415 docs(api): document account profile endpoints
Cover player account profile flows, team player association payloads, tournament metadata fields, and playoff deletion behavior.
2026-05-06 10:59:28 +02:00
app Merge remote-tracking branch 'origin/master' into codex/tur-225-user-organizer-accounts 2026-05-04 19:21:01 +02:00
bin Update to rails 7.0.3 2022-05-19 09:08:36 +02:00
chart Add simple health check 2022-06-10 19:18:08 +02:00
config Merge remote-tracking branch 'origin/master' into codex/tur-225-user-organizer-accounts 2026-05-04 19:21:01 +02:00
db Merge remote-tracking branch 'origin/master' into codex/tur-225-user-organizer-accounts 2026-05-04 19:21:01 +02:00
doc docs(api): document account profile endpoints 2026-05-06 10:59:28 +02:00
e2e test: assert playoff recreation matchups 2026-05-04 17:42:38 +02:00
lib/local Document local-only helper folder 2026-04-15 10:24:25 +02:00
public Initial commit 2018-10-30 15:52:46 +01:00
script feat: allow unplayed playoff deletion 2026-05-04 15:06:08 +02:00
spec Merge remote-tracking branch 'origin/master' into codex/tur-225-user-organizer-accounts 2026-05-04 19:21:01 +02:00
.dockerignore Do not include logfiles in docker environment 2026-04-19 11:46:11 +02:00
.gitignore Remove schema.rb from gitignore 2026-04-25 10:11:36 +02:00
.gitlab-ci.yml ci: run blackbox checks single-worker 2026-04-30 09:15:05 +02:00
.rspec Initialize RSpec setup 2018-11-13 16:56:16 +01:00
.rubocop.yml TUR-130 update dependencies and ruby 2026-04-28 13:55:47 +02:00
.rubocop_todo.yml TUR-130 update dependencies and ruby 2026-04-28 13:55:47 +02:00
.ruby-version TUR-130 update dependencies and ruby 2026-04-28 13:55:47 +02:00
AGENTS.md docs: update manual team action list API 2026-04-23 22:48:11 +02:00
Dockerfile feat(docker): make scaling env configurable 2026-04-30 08:58:22 +02:00
Gemfile TUR-130 update dependencies and ruby 2026-04-28 13:55:47 +02:00
Gemfile.lock TUR-130 update dependencies and ruby 2026-04-28 13:55:47 +02:00
README.md docs(api): document account profile endpoints 2026-05-06 10:59:28 +02:00
Rakefile Apply rubocop formatting 2018-11-10 15:50:27 +01:00
config.ru Apply rubocop formatting 2018-11-10 15:50:27 +01:00
docker-compose.blackbox-follow.yml ci: run blackbox checks single-worker 2026-04-30 09:15:05 +02:00
docker-compose.blackbox.yml ci: run blackbox checks single-worker 2026-04-30 09:15:05 +02:00
docker-compose.yml Use production env (defined in Dockerfile) 2019-04-17 09:15:39 +02:00
tasks.py Merge branch 'codex/tur-210-playoff-deletion' into 'master' 2026-05-04 17:07:28 +00:00

README.md

turniere-backend

Build Status pipeline status Coverage Status Codacy Badge Quality Gate Status Maintainability

Ruby on Rails application serving as backend for turnie.re

Quick install with Docker

turnie.re - Quickstart

Installation

# install dependencies
$ bundle config set with "development test"
$ bundle install
# run migrations
$ rails db:migrate

Running

Development (without mail confirmation and separate database):

$ RAILS_ENV=development rails server

Testing

Running tests works as follows:

bundle exec rspec

Leader/follower tournament sync docs:

Docker

Registry

You can find all our Dockerfiles in the docker directory. They depend on each other in the following order: production → test This means, to build test image, you have to build production image first and tag it with corresponding tag that is mentioned in FROM line in test Dockerfile. To build all images do:

cd turniere-backend
docker build -t registry.gitlab.com/turniere/turniere-backend/production -f docker/production/Dockerfile .
docker build -t registry.gitlab.com/turniere/turniere-backend/test -f docker/test/Dockerfile .

This is done to leave test and development dependencies out of production container. Also we have dedicated test container which runs tests reproducible when you start it, but can also run normal rails server to debug problems occuring in test suite if needed.

While developing, use test image as base container and mount root of this repository into /app to avoid rebuilding it over and over again.

Generate diagrams

$ rails diagram:all_with_engines