Web application to manage a Swiss-like tournament where matches are played at different tables, and every team should play at most once at every table.
To run the application locally: clone the repository, install the requirements (Python 3 is needed), and then issue the following commands.
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
From now on, everything can be done from the web interface, on the /admin/ page.
However, you can also use the following command-line scripts to populate the database.
python create_tournament.py NAMECreate a tournament with the given name.python generate_data.py NUM_TEAMS NUM_PLAYERS NUM_TABLESGenerateNUM_TEAMSteams, each havingNUM_PLAYERSplayers, and also generateNUM_TABLEStables.python create_round.pyCreate a new round for the latest tournament (uses teams and tables already present in the database, as well as previous rounds).python generate_results.pyGenerate random results for all existing matches.
The public page (with rounds and scoreboard) is available at /.