generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
22 lines (21 loc) · 1.17 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
## .env.example - copy this file to '.env' and fill out required values
##
## Defines environment variables necessary to connect to the Google Calendar
## API. Attain these values from a TBD employee with those credentials. Not to
## be shared or exposed outside of TBD employees (ie. these values are not OSS)
##
## In production environments these are configured in
## the build runner environment variables
# Calendar ID to read events from. Can be attained via the "Calendar ID" field in Google Calendar > Calendar Settings > Integrate Calendar
CALENDAR_ID="SOMETHING_HERE@group.calendar.google.com" # TBD Open Source Calendar
# API Key is configured in the Google Cloud Console under Credentials
# Internal (TBD employee link): https://console.cloud.google.com/apis/credentials?project=sq-tbd-build-dev
API_KEY="KEY_HERE" # Must not leak out publicly. Could result in quota overages and DoS attacks.
# How many events we'll fetch
NUM_EVENTS_TO_FETCH=5
# Logging verbosity (one of: trace, debug, info, warn, error, fatal)
LOG_VERBOSITY=debug
# HTTP Port to listen for incoming connections
HTTP_PORT=3000
# Number of seconds between refreshing the cache
SECONDS_BETWEEN_CACHE_REFRESH=60