-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
43 lines (36 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
43 lines (36 loc) · 1.58 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
# 1. Docker Desktop running
# 2. npm install
# 3. cp .env.example .env.local
# 4. cp supabase/.env.example supabase/.env
# 5. Set GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET (both files) and LOCAL_ADMIN_EMAILS
# 6. npx supabase start
# 7. npm run db:seed-admins
# 8. npm run dev
#
# npx supabase db reset — local only, not day-to-day. Rebuilds Docker DB from
# migrations + seed.sql (wipes data). Use after pulling/writing a new migration,
# or to get a clean local DB. Then run step 7 again. Never against DEV/prod.
# Do not point this file at hosted DEV/prod. Do not commit .env.local.
# npx supabase status → Project URL / Publishable (not Secret)
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_ACJWlzQHlZjBrEguHvfOxg_3BJgxAaH
# npx supabase status → DB URL
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres
# Google Cloud → Credentials → existing OAuth client. Same values in supabase/.env.
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Your @umich.edu. Local only.
LOCAL_ADMIN_EMAILS=you@umich.edu
# AWS S3 (dev bucket for local + Vercel Preview; prod bucket later)
# Bucket CORS must allow PUT/GET from your dev origin (e.g. http://localhost:3000).
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_BUCKET=
# AWS SES (application confirmation). Reuses AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY.
# SES_REGION falls back to AWS_REGION. SES_REPLY_TO is optional.
SES_REGION=us-east-2
SES_FROM_EMAIL=noreply@ktpmichigan.com
SES_REPLY_TO=
# CARTO basemaps (nationals page map). Free tier: carto.com/basemaps/apikey
NEXT_PUBLIC_CARTO_API_KEY=