Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.03 KB

admin-guide.adoc

File metadata and controls

39 lines (29 loc) · 1.03 KB

Administrators Guide

This guide documents the use of scma-gcal-sync to maintain a Google Calendar for SCMA members.

Setup

  1. Create a Google Cloud Platform (GCP) project.

  2. Add the following APIs

    • Google Calendar API

  3. Setup service account authentication

    1. Create a service account

    2. Download the service account JSON

Initial Sync

An initial sync needs to be performed to create the calendar, add an owner, synchronize all events (including past events).

export SCMA_USERNAME=<scma-username>
export SCMA_PASSWORD=<scma-password>
export GOOGLE_CLIENT_SECRET_PATH=service-account.json
scma-gcal-sync events --all --calendar-owner <email-address>
scma-gcal-sync users --notify-acl-insert true

Subsequent Syncs

Subsequent syncs should be done daily to synchronize in-progress and future events.

export SCMA_USERNAME=<scma-username>
export SCMA_PASSWORD=<scma-password>
export GOOGLE_CLIENT_SECRET_PATH=service-account.json
scma-gcal-sync events
scma-gcal-sync users --notify-acl-insert true