32
.env.example
Normal file
32
.env.example
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copy to .env and fill in values. Never commit .env.
|
||||
|
||||
# --- App URLs (local LAN: use your container IP or 127.0.0.1) ---
|
||||
NEXTAUTH_URL=http://127.0.0.1:8008
|
||||
AUTH_URL=http://127.0.0.1:8008
|
||||
AUTH_SECRET=generate_a_long_random_string_min_32_chars
|
||||
|
||||
# --- Database (PostgreSQL) ---
|
||||
DATABASE_URL=postgresql://fundraise:fundraise_local_dev@localhost:5432/fundraising
|
||||
|
||||
# --- Branding & campaign copy ---
|
||||
NEXT_PUBLIC_APP_NAME=Democracy Rising
|
||||
PUBLIC_APP_NAME=Democracy Rising
|
||||
PUBLIC_CREDIT_NAME=BLW
|
||||
PUBLIC_CAMPAIGN_GOAL_USD=250000
|
||||
|
||||
# --- Legal / disclosure placeholders (not legal advice) ---
|
||||
NEXT_PUBLIC_COMMITTEE_LEGAL_NAME_PLACEHOLDER=Your Committee Legal Name Here
|
||||
COMMITTEE_LEGAL_NAME_PLACEHOLDER=Your Committee Legal Name Here
|
||||
NEXT_PUBLIC_DISCLAIMER_TEXT=This deployment is for local demonstration. Configure FEC/state disclosures before accepting live contributions.
|
||||
DISCLAIMER_TEXT=This deployment is for local demonstration. Configure FEC/state disclosures before accepting live contributions.
|
||||
|
||||
# --- Stripe (test keys for development; use restricted keys in shared environments) ---
|
||||
STRIPE_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
# Credits: whole credits granted per CREDIT_RATIO_CENTS_PER_USD cents donated (100 = 1 credit per dollar).
|
||||
CREDIT_RATIO_CENTS_PER_USD=100
|
||||
|
||||
# Optional: Stripe CLI for local webhook forwarding:
|
||||
# stripe listen --forward-to 127.0.0.1:8008/api/webhooks/stripe
|
||||
Reference in New Issue
Block a user