← back to Site Factory

.env.template

41 lines

# Site Factory — required env vars (copy to .env.local, fill, never commit)
# This is the master template; each site's app/.env.example is a subset of these.

# ─── Stripe (Steve, set these once) ───────────────────────────────────────
STRIPE_SECRET_KEY=sk_live_xxx
STRIPE_PUBLISHABLE_KEY=pk_live_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx

# ─── Google (one OAuth client; same admin-google for all sites) ───────────
GOOGLE_CLIENT_ID=xxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxx
ADMIN_EMAILS=steve@designerwallcoverings.com

# ─── Google Analytics 4 ──────────────────────────────────────────────────
# Use the /analytics skill to create one property per site under steve@designerwallcoverings.com.
# Each site's .env.local then gets its own NEXT_PUBLIC_GA4_ID=G-XXXXXXXXXX.

# ─── Vercel ──────────────────────────────────────────────────────────────
VERCEL_TOKEN=xxx

# ─── Cloudflare (zone create + DNS for the 3 domains) ────────────────────
CLOUDFLARE_API_TOKEN=xxx
CLOUDFLARE_ACCOUNT_ID=xxx

# ─── GoDaddy (NS swap from domaincontrol → Cloudflare) ───────────────────
GODADDY_API_KEY=xxx
GODADDY_API_SECRET=xxx

# ─── PurelyMail (info@<domain>) ──────────────────────────────────────────
PURELYMAIL_API_TOKEN=xxx

# ─── Browserbase (always preferred over local Playwright) ────────────────
BROWSERBASE_API_KEY=xxx
BROWSERBASE_PROJECT_ID=xxx

# ─── Postgres (already configured locally; here for completeness) ────────
DATABASE_URL=postgresql:///site_factory?host=/tmp&user=stevestudio2

# ─── Sentry (optional) ───────────────────────────────────────────────────
SENTRY_DSN=