mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 22:52:58 +00:00
- Add REQUIRE_EMAIL_VERIFICATION setting (default: True) - Skip email verification when setting is False - Auto-verify users and provide welcome bonus when bypassed - Updated .env.example with documentation - Allows testing on Railway without email setup until final domain Perfect for Railway deployment until email/domain configuration is ready. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
2.3 KiB
Plaintext
55 lines
2.3 KiB
Plaintext
# Django
|
|
SECRET_KEY=your-secret-key-here-generate-50-random-characters
|
|
DEBUG=True
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,your-domain.com
|
|
CSRF_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
|
|
|
|
# Email Verification
|
|
# Set to False to bypass email verification for testing (until final domain is ready)
|
|
REQUIRE_EMAIL_VERIFICATION=True
|
|
|
|
# Database Configuration
|
|
# Default: SQLite (simple, reliable, no setup required)
|
|
# Railway: Automatically uses PostgreSQL via DATABASE_URL
|
|
|
|
# To use PostgreSQL locally (optional - for production parity):
|
|
# 1. Set up PostgreSQL (see docs/POSTGRESQL_SETUP.md)
|
|
# 2. Uncomment one of these options:
|
|
|
|
# Option 1: Use DATABASE_URL (explicit)
|
|
DATABASE_URL=postgresql://user:password@host:port/database
|
|
|
|
# Option 2: Use PostgreSQL flag (uses default credentials)
|
|
# USE_POSTGRESQL=True
|
|
|
|
# Option 3: Force SQLite (override auto-detection)
|
|
# DATABASE_URL=sqlite:///db.sqlite3
|
|
|
|
# External API Keys
|
|
NEXT_PUBLIC_OPENWEATHER_API_KEY=your_openweather_api_key_here
|
|
OPENWEATHER_API_KEY=your_openweather_api_key_here
|
|
|
|
# Stripe Configuration
|
|
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key_here
|
|
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here
|
|
STRIPE_WEBHOOK_SECRET=whsec_your_stripe_webhook_secret_here
|
|
|
|
# N8N Webhook URLs (Frontend)
|
|
NEXT_PUBLIC_N8N_WEBHOOK_DATA_ANALYZER=https://your-n8n-instance.com/webhook/data-analyzer
|
|
NEXT_PUBLIC_N8N_WEBHOOK_FIVE_WHYS=https://your-n8n-instance.com/webhook/five-whys
|
|
NEXT_PUBLIC_N8N_WEBHOOK_JOB_POSTING=https://your-n8n-instance.com/webhook/job-posting
|
|
NEXT_PUBLIC_N8N_WEBHOOK_SOCIAL_ADS=https://your-n8n-instance.com/webhook/social-ads
|
|
NEXT_PUBLIC_N8N_WEBHOOK_FAQ_GENERATOR=https://your-n8n-instance.com/webhook/faq-generator
|
|
|
|
# Django N8N Webhook URLs (Backend)
|
|
N8N_WEBHOOK_DATA_ANALYZER=https://your-n8n-instance.com/webhook/data-analyzer
|
|
N8N_WEBHOOK_FIVE_WHYS=https://your-n8n-instance.com/webhook/five-whys
|
|
N8N_WEBHOOK_JOB_POSTING=https://your-n8n-instance.com/webhook/job-posting
|
|
N8N_WEBHOOK_SOCIAL_ADS=https://your-n8n-instance.com/webhook/social-ads
|
|
N8N_WEBHOOK_FAQ_GENERATOR=https://your-n8n-instance.com/webhook/faq-generator
|
|
|
|
# Security
|
|
CSRF_TRUSTED_ORIGINS=https://your-domain.com,https://www.your-domain.com
|
|
|
|
# Redis Cache (optional - falls back to memory cache if not available)
|
|
REDIS_URL=redis://127.0.0.1:6379/1 |