-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathtemplate.env
More file actions
51 lines (43 loc) · 2.66 KB
/
Copy pathtemplate.env
File metadata and controls
51 lines (43 loc) · 2.66 KB
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
# Hey local developer. Copy this to a .env file
# Read permissions are used for:
# - [In "PauseAI Volunteers & Actions" base] accessing people, teams, and national-groups - uses placeholders if unset in local development
# - [In "UK Politicians" base] accessing MP data for email builder (whether the politician has contacted us about letter).
AIRTABLE_API_KEY = ""
# Read & Write permissions are used for:
# - [In "PauseAI Volunteers & Actions" base] Email verification endpoints (if write permissions are granted) - optional for local development
# - [In "UK Politicians" base] Writing new emails to the "Web form emails" table which uses an Airtable automation to send the email.
AIRTABLE_WRITE_API_KEY = ""
# Cloudflare Turnstile — anti-spam on the /contact-us forms.
# Optional locally: if TURNSTILE_SECRET_KEY is unset in development the check is
# skipped (with a warning), but it is enforced in production.
# To exercise the real flow locally (including the rejection path), copy a pair of
# always-passes / always-fails dummy keys from Cloudflare's docs:
# https://developers.cloudflare.com/turnstile/troubleshooting/testing/
# Dummy site and secret keys only work when paired with each other.
# Do not paste key values into this file — it is committed, and Netlify's secrets
# scanning fails the build when a configured secret's value appears in repo files.
PUBLIC_TURNSTILE_SITE_KEY = ""
TURNSTILE_SECRET_KEY = ""
# Used for the /chat feature - optional for most local development
OPENAI_KEY = ""
# Used for the /write feature - optional for most local development
ANTHROPIC_API_KEY_FOR_WRITE = ""
# Localization (i.e. translation) settings
# The set of all locales is defined in project.inlang/default-settings.js,
# but we allow an environment variable override because using fewer locales
# can significantly improve local development convenience and build speed!
# Default: "en" for local development, "all" in CI/CD environments
# This is a comma-separated list. "-" switches into exclude mode. Examples: "en", "en,nl", "all", "-de,fr"
PARAGLIDE_LOCALES=en
# Only set this if you want to test generation of new l10n content locally
# (Normally l10n content is generated only in CI/CD pipelines)
# If this is empty, only existing l10n content from the cache will be used
L10N_OPENROUTER_API_KEY=""
# Add your OpenRouter API key above to enable l10n generation
# Sentry DSN for error monitoring (PUBLIC_ prefix makes it available in client code)
PUBLIC_SENTRY_DSN=""
# Cloudinary configuration
PUBLIC_CLOUDINARY_CLOUD_NAME=""
# Optionally override which branch of the l10n cache to use
# (defaults to same name as current website branch, or 'main' if on main)
# L10N_BRANCH="my-feature-branch"