Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.01 KB

admin-guide.adoc

File metadata and controls

39 lines (29 loc) · 1.01 KB

Administrators Guide

This guide documents the use of scma-gsync 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-gsync events --all --calendar-owner <email-address>
scma-gsync 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-gsync events
scma-gsync users --notify-acl-insert true