diff options
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.env.example b/.env.example index 597a39f..b93cf90 100644 --- a/.env.example +++ b/.env.example @@ -13,6 +13,25 @@ TRELLO_TOKEN= # PlanToEat API is not publicly available - leave empty unless you have access # PLANTOEAT_API_KEY= +# Google Calendar (OPTIONAL) — service-account auth, works because a calendar +# can be shared with any email including a service account's. +# GOOGLE_CREDENTIALS_FILE=/path/to/service-account.json +# GOOGLE_CALENDAR_ID=primary + +# Google Tasks (OPTIONAL) — real user OAuth, NOT service-account auth. A +# service account has no path to a regular user's personal task lists (no +# equivalent of Calendar's sharing model), so this needs its own OAuth 2.0 +# Client ID from Google Cloud Console (APIs & Services > Credentials > +# Create Credentials > OAuth client ID > Web application), with an +# Authorized redirect URI matching GOOGLE_OAUTH_REDIRECT_URL below exactly. +# Enable the Tasks API on the project, and if the OAuth consent screen is in +# "Testing" mode, add your own Google account as a test user. Once set, +# visit /settings in the running app and click "Connect Google Tasks". +# GOOGLE_OAUTH_CLIENT_ID= +# GOOGLE_OAUTH_CLIENT_SECRET= +# GOOGLE_OAUTH_REDIRECT_URL=https://doot.terst.org/settings/google-tasks/callback +# GOOGLE_TASKS_LIST_ID=@default + # Paths # Database file location (relative or absolute path) DATABASE_PATH=./dashboard.db |
