Developers
Testing pull requests
How to test PRs locally or with Docker.
This guide describes how to test MAT pull requests using either local development or Docker compose.
Option 1: Local development
git clone https://github.com/sivert-io/matchzy-auto-tournament.git
cd matchzy-auto-tournament
yarn install
yarn db
yarn devOption 2: Docker compose (build from source)
git clone https://github.com/sivert-io/matchzy-auto-tournament.git
cd matchzy-auto-tournament
docker compose -f docker/docker-compose.local.yml up -d --buildDevelopment tools and simulation mode
When testing PRs, you may want to enable Dev Tools and simulation mode.
Enable Dev Tools (menu + /dev)
Dev Tools are enabled when:
- you run the Vite dev server (local development), or
- you build with
VITE_ENABLE_DEV_PAGE=true(useful for PR review builds / staging).
Dev Tools are for developers. Do not enable them for real tournaments unless you know why you need them.
Enable simulation mode in production-like environments
Simulation mode is disabled by default in production for safety. If you are running a production-like build (for example docker-compose.local.yml) and you want simulation mode to persist when you save settings, you must set:
MATCHZY_ENABLE_SIMULATION_IN_PROD=trueOnce enabled, you can toggle Simulate matches in Settings (Developer / Simulation section) and optionally adjust the simulation timescale.
How is this guide?
Last updated on