This repository was archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
29 lines (21 loc) · 1.34 KB
/
.env.template
File metadata and controls
29 lines (21 loc) · 1.34 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
# Use this for dev and create .env.prod for production env vars
# Get from google cloud console
export GOOGLE_MAPS_API_KEY=''
# Get from The Things Stack console in api integrations - only needed if deploying to aws
export TTS_COMMUNITY_API_KEY=''
# This is for local testing - replace with actual supabase url if deploying
export SUPABASE_URL='http://localhost:54321'
# Replace with local or remote keys
export SUPABASE_PUBLIC_ANON_KEY='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs'
export SUPABASE_SERVICE_ROLE_KEY='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSJ9.vI9obAHOGyVVKa3pD--kJlyxp-Z2zV9UUMAhKpNLAcU'
# This is *really* the jwt secret for local dev
# Replace with your supabase jwt secret when deploying
export SUPABASE_SECRET_JWT='super-secret-jwt-token-with-at-least-32-characters-long'
# Replace with your supabase url when deploying
export DATABASE_URL='postgresql://postgres:postgres@localhost:54322/postgres'
# This is generated for you when deploying - needed for local dev
export GRAPHQL_URL='http://localhost:4000/graphql'
export REACT_APP_SUPABASE_URL="$SUPABASE_URL"
export REACT_APP_SUPABASE_PUBLIC_ANON_KEY="$SUPABASE_PUBLIC_ANON_KEY"
export REACT_APP_GOOGLE_MAPS_API_KEY="$GOOGLE_MAPS_API_KEY"
# vim: ft=sh