-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
63 lines (48 loc) · 2.43 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copy this file to `.env.local` and set your own variables
######################
## Static vairables ##
######################
## These should already be correct, unless you need to develop against the info session signup.
GREENLIGHT_API_ENDPOINT='https://greenlight.operationspark.org/api'
SIGNUP_API_ENDPOINT='https://us-central1-operationspark-org.cloudfunctions.net/session-signups'
#######################
## Dynamic variables ##
#######################
# You will need to fill in the variables below, between the quotes. (Omit the brackets and everything inside)
# Greenlight
GREENLIGHT_API_TOKEN='[FILL_ME_IN: https://github.com/OperationSpark/greenlight-v2/blob/master/imports/api/webhooks/server/webhooks.js#L332]'
# Mailchimp
MAILCHIMP_API_KEY='[FILL_ME_IN: MAILCHIMP_API_KEY]'
MAILCHIMP_AUDIENCE_ID='[FILL_ME_IN: MAILCHIMP_AUDIENCE_KEY]'
# Facebook
## Pixel ID for tracking
FB_PIXEL_ID='[FILL_ME_IN: OPERATION_SPARK_PIXEL_ID]'
## App/Form credentials
FB_PAGE_ID='[FILL_ME_IN: FACEBOOK_PAGE_ID]'
FB_APP_ID='[FILL_ME_IN: FACEBOOK_APP_ID]'
FB_APP_SECRET='[FILL_ME_IN: FACEBOOK_APP_SECRET]'
FB_APP_TOKEN='[FILL_ME_IN: FACEBOOK_APP_TOKEN]'
FB_CLIENT_TOKEN='[FILL_ME_IN: FACEBOOK_CLIENT_TOKEN]'
## Access token from created "System User"
FB_ACCESS_TOKEN='[FILL_ME_IN: FACEBOOK_SYSTEM_USER_ACCESS_TOKEN]'
## Generated with command: `openssl rand -base64 32`
FB_WEBHOOK_TOKEN='[FILL_ME_IN: FACEBOOK_WEBHOOK_TOKEN]'
# High school form details
HIGHSCHOOL_FORM_ACTIVE='[FILL_ME_IN: true | false]'
HIGHSCHOOL_FORM_RESPONSES_NAME='[FILL_ME_IN: GOOGLE_SPREADSHEET_TAB_NAME]'
HIGHSCHOOL_FORM_RESPONSES_ID='[FILL_ME_IN: GOOGLE_SPREADSHEET_ID]'
# Wufoo details (Used for contact form)
WUFOO_HOST='[FILL_ME_IN: WUFOO_HOST_NAME]'
WUFOO_CONTACT_FORM_ID='[FILL_ME_IN: WUFOO_CONTACT_FORM_ID]'
## Token should be base64 encoding of wufoo username and choose any password (username === api key).
### base64(`${username}:${password}`)
WUFOO_TOKEN='[FILL_ME_IN: BASE64_WUFOO_TOKEN]'
# Google
GOOGLE_API_KEY='[FILL_ME_IN: GOOGLE_API_KEY]'
GOOGLE_EVENTS_CALENDAR_ID='[FILL_ME_IN: <[email protected] >]'
## JSON.stringify object containing the `private_key` and `client_email` for the service account
# JSON.stringify({
# private_key: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
# client_email: "[email protected]"
# })
GOOGLE_SERVICE_ACCOUNT='[FILL_ME_IN: STRINGIFIED_GOOGLE_SERVICE_ACCOUNT_CREDS]'