No description
Find a file
2023-11-14 18:42:55 +01:00
adapters Fix date generation if no start is specified in the repeat rules. 2023-11-14 18:11:58 +01:00
ci Use verbose logging in pipeline. 2023-11-14 16:00:43 +01:00
.gitignore Add initial cython makefile. 2022-11-23 02:00:36 +01:00
Dockerfile Add dockerfile. 2022-11-23 02:38:10 +01:00
main.py Allow different time ranges for the different sources. 2023-11-14 18:42:55 +01:00
Makefile Add initial cython makefile. 2022-11-23 02:00:36 +01:00
README.md Update readme. 2022-10-13 11:49:44 +02:00
requirements.txt Fix date generation if no start is specified in the repeat rules. 2023-11-14 18:11:58 +01:00

Wordpress WP Booking System/Google Calendar integration

Usage

  1. Create a google service account which has permission to read the desired calendars (add it to the calendars).
  2. Add a key to the service account (choose the json option) and save it somewhere secure.
  3. Run this program once ./main.py --config config.yaml it will generate a example configuration file.
  4. Add the json contents into the example file under .google.credentials and fill in the rest of the options.
  5. To synchronize once run ./main.py --config config.yaml.

CI

There is a concourse pipeline which runs once every hour to synchronize all events. It reads the configuration file from the concourse vault and passes it to the script.

Known issues

If two Events are booked on the same date, only one of them will appear in the description on Wordpress.