From 3d1aed2156f11615acc3d23f2bffb23f3de37c5f Mon Sep 17 00:00:00 2001 From: Patrick Kage Date: Tue, 20 Oct 2020 02:04:48 -0400 Subject: [PATCH] keep documentation up to date --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 7e737de..9959252 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,39 @@ https://www.eusa.ed.ac.uk/organisation/admin/8868/ HERE ``` +To use the dashboard, you'll need to add some Google OAuth keys to auth with +our GAdmin workspace. Follow the instructions in [the compsoc-sso-template +repo](https://github.com/compsoc-edinburgh/compsoc-sso-framework#how) (may be +private), and then add them to the `secret.json` file: + +``` +{ + // ... + "google": { + "client_id": "YOUR_CLIENT_ID", + "client_secret": "YOUR_CLIENT_SECRET", + "callback": "https://YOUR_DEPLOYMENT_URL/auth/google/callback" + } +} +``` + +Additionally, you'll need to add the sendy API key, deployment, and target +list. Instructions on how to find this information can be found at the [Sendy +API documentation](https://sendy.co/api). Once you get this information, you +can set it in `secret.json`: + +``` +{ + // ... + "sendy": { + "sendy_url": "https://YOUR_SENDY_URL/sendy", + "api_key": "YOUR_SENDY_API_KEY", + "target_list": "YOUR_SENDY_TARGET_LIST" + } +} +``` + + ## run (dev) ```bash