Improve readme.

This commit is contained in:
redxef 2022-10-13 01:08:40 +02:00
parent a68512cbb4
commit 027c4737cb
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,5 +1,12 @@
# 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`.
## Known issues