Commit fd8d74b8 authored by Gerald Oster's avatar Gerald Oster
Browse files

[docs] configuration via envvironment variables

parent 49978a0b
......@@ -40,3 +40,15 @@ python wui.py
For PDF generation of coupons, you will need a web browser (only tested with Chrome at the moment). Currently, the path to the web browser is hard-coded in `src/pdftools.py` (you can seek for `PATH_TO_CHROME_EXE` variable).
Schedules (track/timeslot/duration) are hard-coded in `src/exam.py` at the moment.
Configuration variables can also be overridden using environnement variables, for instance:
```sh
export CONCOURS_TAO_HOST=193.8.8.8
export CONCOURS_TAO_PORT=443
export CONCOURS_TAO_USERNAME=beedle
export CONCOURS_TAO_PASSWORD=Th3B@4d
export CONCOURS_CONCOURS_TOPIC=english
export CONCOURS_CONCOURS_CURRENT_DATE=2021-04-16
./wui.py
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment