diff options
author | MichaĆ Zimniewicz <michzimny@users.noreply.github.com> | 2017-10-12 19:18:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 19:18:48 +0200 |
commit | d3a7e4e66ff224859441051f0c1f7fdc56caed86 (patch) | |
tree | 1a68fca517f668eb5ecf68d2577b88181763956c /README.md | |
parent | a592554b2fc0cd9ec9decbc81645eb149ba6cabe (diff) | |
parent | cbb6849dcc7a12db6929341c6171ddee9446167c (diff) |
Merge pull request #15 from michzimny/input-defaults1.0
Input defaults
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -15,16 +15,16 @@ pip install -r requirements-PLATFORM.txt Where `PLATFORM` is either `windows` or `linux`. -# Configuration +You can also download the pre-built EXE release. -Set MySQL settings in ql/settings.py. +# Configuration -For Linux, you can leave the default `engine` property, for Windows, you have to change it to `mysql.connector.django` to use Oracle connector. +Set MySQL settings in config.json. # Usage ``` -python quick_lineup.py <round> <segment> [<start from table>] +python quick_lineup.py [<round> <segment> [<start from table>]] ``` For instance, to process round 3, segment 2, starting from table 1 run: @@ -33,6 +33,8 @@ For instance, to process round 3, segment 2, starting from table 1 run: python quick_lineup.py 3 2 1 ``` +If round and segment are missing, the script will ask for these values interactively. + The script will iterate pair by pair in each match. It presents the currently assigned players and let you confirm them - pressing ENTER without any input - or change - providing player names (press TAB to autocomplete). # Build process |