feat: enhance production readiness with environment configuration, dependency checks, and sitemap updates

This commit is contained in:
Your Name
2026-03-15 13:29:02 +02:00
parent 3217681108
commit c167091399
11 changed files with 392 additions and 51 deletions

View File

@@ -3,6 +3,9 @@ FLASK_ENV=development
FLASK_DEBUG=1
SECRET_KEY=change-me-in-production
# Site Domain (used in sitemap, robots.txt, emails)
SITE_DOMAIN=https://saas-pdf.com
# Redis
REDIS_URL=redis://redis:6379/0
@@ -31,6 +34,23 @@ DATABASE_PATH=/app/data/saas_pdf.db
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# Stripe Payments
STRIPE_SECRET_KEY=sk_test_XXXXXXXXXXXXXXXXXXXXXXXX
STRIPE_WEBHOOK_SECRET=whsec_XXXXXXXXXXXXXXXXXXXXXXXX
STRIPE_PRICE_ID_PRO_MONTHLY=price_XXXXXXXXXXXXXXXX
STRIPE_PRICE_ID_PRO_YEARLY=price_XXXXXXXXXXXXXXXX
# Sentry Error Monitoring
SENTRY_DSN=
SENTRY_ENVIRONMENT=development
# PostgreSQL (production) — leave empty to use SQLite
DATABASE_URL=
# Frontend
VITE_SITE_DOMAIN=https://saas-pdf.com
VITE_SENTRY_DSN=
# Frontend Analytics / Ads (Vite)
VITE_GA_MEASUREMENT_ID=G-XXXXXXXXXX
VITE_PLAUSIBLE_DOMAIN=