summaryrefslogtreecommitdiff
path: root/docs/building.md
blob: 0ccb1bf93c2a7b0c17bcd9653c1048a6eb50a2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To build initial ranking:

```
python ranking.py RANKING_NAME RANKING_INDEX DATE > http/FILENAME.html
```

To build subsequent rankings:

```
python ranking.py RANKING_NAME RANKING_INDEX DATE PREVIOUS_DATE > http/FILENAME.html
```

To compile edition list header into ranking:

```
python editions.py http/FILENAME.html
```

To build players' pages:
```
python players.py http/players/
```

Name, surname and club are always used from the current `players` table. Regions, genders and age categories are read per-ranking.