|
1 | | -# Email Service Configuration |
2 | | -# Choose one: SendGrid, Mailchimp, or custom SMTP |
| 1 | +# =========================================== |
| 2 | +# Empathy Framework Website Environment Config |
| 3 | +# =========================================== |
3 | 4 |
|
4 | | -# SendGrid (Recommended for transactional emails) |
5 | | -SENDGRID_API_KEY=your_sendgrid_api_key_here |
6 | | -SENDGRID_FROM_EMAIL=[email protected] |
7 | | - |
8 | | - |
9 | | -# Mailchimp (Alternative for newsletter) |
10 | | -# MAILCHIMP_API_KEY=your_mailchimp_api_key_here |
11 | | -# MAILCHIMP_LIST_ID=your_mailchimp_list_id_here |
12 | | -# MAILCHIMP_SERVER_PREFIX=us1 |
13 | | - |
14 | | -# Custom SMTP (Alternative) |
15 | | -# SMTP_HOST=smtp.gmail.com |
16 | | -# SMTP_PORT=587 |
17 | | - |
18 | | -# SMTP_PASS=your_app_password |
19 | | - |
20 | | -# Analytics |
21 | | -NEXT_PUBLIC_PLAUSIBLE_DOMAIN=smartaimemory.com |
22 | | -# Optional: Self-hosted Plausible |
23 | | -# NEXT_PUBLIC_PLAUSIBLE_API_HOST=https://plausible.io |
| 5 | +# Deployment |
| 6 | +NODE_ENV=production |
| 7 | +NEXT_PUBLIC_SITE_URL=https://smartaimemory.com |
24 | 8 |
|
25 | | -# GitHub API (for stats) |
26 | | -# Optional: Add token for higher rate limits |
27 | | -# GITHUB_TOKEN=your_github_personal_access_token |
| 9 | +# =========================================== |
| 10 | +# Database (Railway PostgreSQL) |
| 11 | +# =========================================== |
| 12 | +# Get from Railway: Project → PostgreSQL → Connect → Connection URL |
| 13 | +DATABASE_URL=postgresql://user:password@host:5432/railway |
28 | 14 |
|
29 | | -# Database (if needed for newsletter/contact storage) |
30 | | -# DATABASE_URL=postgresql://user:password@localhost:5432/smartaimemory |
| 15 | +# Admin secret for database initialization (generate a random string) |
| 16 | +ADMIN_SECRET=your_random_admin_secret_here |
31 | 17 |
|
| 18 | +# =========================================== |
32 | 19 | # Stripe Configuration |
| 20 | +# =========================================== |
33 | 21 | # Get keys from: https://dashboard.stripe.com/apikeys |
34 | 22 | STRIPE_SECRET_KEY=sk_live_... |
35 | 23 | NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_... |
| 24 | + |
36 | 25 | # Get from: Developers → Webhooks → [Your endpoint] → Signing secret |
37 | 26 | STRIPE_WEBHOOK_SECRET=whsec_... |
38 | 27 |
|
39 | 28 | # Stripe Product Price IDs (get from Dashboard after creating products) |
40 | 29 | # These need NEXT_PUBLIC_ prefix to be accessible in client components |
41 | | -NEXT_PUBLIC_STRIPE_PRICE_BOOK=price_... |
42 | | -NEXT_PUBLIC_STRIPE_PRICE_LICENSE=price_... |
| 30 | +NEXT_PUBLIC_STRIPE_PRICE_BOOK=price_1Sbf3xAbABKRT84gGn7yaivw |
| 31 | +NEXT_PUBLIC_STRIPE_PRICE_LICENSE=price_1SbfCjAbABKRT84gSh7BoLAl |
| 32 | + |
43 | 33 | # Contribution tiers (optional) |
44 | 34 | NEXT_PUBLIC_STRIPE_PRICE_CONTRIB_5=price_... |
45 | 35 | NEXT_PUBLIC_STRIPE_PRICE_CONTRIB_25=price_... |
46 | 36 | NEXT_PUBLIC_STRIPE_PRICE_CONTRIB_100=price_... |
47 | 37 | NEXT_PUBLIC_STRIPE_PRICE_CONTRIB_500=price_... |
48 | 38 |
|
49 | | -# Deployment |
50 | | -NODE_ENV=production |
51 | | -NEXT_PUBLIC_SITE_URL=https://smartaimemory.com |
| 39 | +# =========================================== |
| 40 | +# Email Service (Resend - Recommended) |
| 41 | +# =========================================== |
| 42 | +# Get from: https://resend.com/api-keys |
| 43 | +RESEND_API_KEY=re_... |
| 44 | + |
| 45 | +# Email addresses |
| 46 | +FROM_EMAIL=Empathy Framework <[email protected]> |
| 47 | + |
| 48 | + |
| 49 | +# =========================================== |
| 50 | +# Legacy Email (Optional - SendGrid) |
| 51 | +# =========================================== |
| 52 | +# SENDGRID_API_KEY=your_sendgrid_api_key_here |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | +# =========================================== |
| 57 | +# Analytics |
| 58 | +# =========================================== |
| 59 | +NEXT_PUBLIC_PLAUSIBLE_DOMAIN=smartaimemory.com |
| 60 | +# Optional: Self-hosted Plausible |
| 61 | +# NEXT_PUBLIC_PLAUSIBLE_API_HOST=https://plausible.io |
| 62 | + |
| 63 | +# =========================================== |
| 64 | +# GitHub API (for stats - optional) |
| 65 | +# =========================================== |
| 66 | +# Add token for higher rate limits |
| 67 | +# GITHUB_TOKEN=your_github_personal_access_token |
0 commit comments