A simple python bot to update a MediaWiki resources catalog page from a LibreBooking database.
- Copy
conf.example.yaml
toconf.yaml
and make your changes - Create a virtual environment and install the requirements.txt packages
python -m venv env --prompt grraou-bot
source env/bin/activate
python -m pip install -f requirements.txt
- Insert this comment in your MediaWiki page where you want to insert the resources catalog.
<!-- GrraouBot content below -->
- Set a cron job to run GrraouBot every time you want
crontab -e
# Example for every night at 1am
0 1 * * * /path/to/python.exe /path/to/grraoubot.py