From 027c4737cbb7415031e8ffc35b3aa5a66b3e937f Mon Sep 17 00:00:00 2001 From: redxef Date: Thu, 13 Oct 2022 01:08:40 +0200 Subject: [PATCH] Improve readme. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 983914d..dfd10c8 100644 --- a/README.md +++ b/README.md @@ -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