wp-cal-integration/README.md

20 lines
852 B
Markdown
Raw Normal View History

2022-09-28 15:54:44 +02:00
# Wordpress WP Booking System/Google Calendar integration
2022-09-28 16:02:09 +02:00
2022-10-13 01:08:40 +02:00
## 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`.
2022-09-28 16:02:09 +02:00
2022-10-13 11:49:44 +02:00
## 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.
2022-09-28 16:02:09 +02:00
## Known issues
If two Events are booked on the same date, only one of them will appear
in the description on Wordpress.