# [AWS-SECRET-REMOVED]=========================== # ThrillWiki Environment Configuration # [AWS-SECRET-REMOVED]=========================== # Copy this file to ***REMOVED*** and fill in your actual values # [AWS-SECRET-REMOVED]=========================== # Core Django Settings # [AWS-SECRET-REMOVED]=========================== SECRET_KEY=your-secret-key-here-generate-a-new-one DEBUG=True ALLOWED_HOSTS=localhost,127.0.0.1,beta.thrillwiki.com CSRF_TRUSTED_ORIGINS=https://beta.thrillwiki.com,http://localhost:8000 # [AWS-SECRET-REMOVED]=========================== # Database Configuration # [AWS-SECRET-REMOVED]=========================== # PostgreSQL with PostGIS for production/development DATABASE_URL=postgis://username:password@localhost:5432/thrillwiki # SQLite for quick local development (uncomment to use) # DATABASE_URL=spatialite:///path/to/your/db.sqlite3 # [AWS-SECRET-REMOVED]=========================== # Cache Configuration # [AWS-SECRET-REMOVED]=========================== # Local memory cache for development CACHE_URL=locmem:// # Redis for production (uncomment and configure for production) # CACHE_URL=redis://localhost:6379/1 # REDIS_URL=redis://localhost:6379/0 CACHE_MIDDLEWARE_SECONDS=300 CACHE_MIDDLEWARE_KEY_PREFIX=thrillwiki # [AWS-SECRET-REMOVED]=========================== # Email Configuration # [AWS-SECRET-REMOVED]=========================== EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend SERVER_EMAIL=django_webmaster@thrillwiki.com # ForwardEmail configuration (uncomment to use) # EMAIL_BACKEND=email_service.backends.ForwardEmailBackend # FORWARD_EMAIL_BASE_URL=https://api.forwardemail.net # SMTP configuration (uncomment to use) # EMAIL_URL=smtp://username:password@smtp.example.com:587 # [AWS-SECRET-REMOVED]=========================== # Security Settings # [AWS-SECRET-REMOVED]=========================== # Cloudflare Turnstile (get keys from Cloudflare dashboard) TURNSTILE_SITE_KEY=your-turnstile-site-key TURNSTILE_SECRET_KEY=your-turnstile-secret-key TURNSTILE_VERIFY_URL=https://challenges.cloudflare.com/turnstile/v0/siteverify # Security headers (set to True for production) SECURE_SSL_REDIRECT=False SESSION_COOKIE_SECURE=False CSRF_COOKIE_SECURE=False SECURE_HSTS_SECONDS=31536000 SECURE_HSTS_INCLUDE_SUBDOMAINS=True # [AWS-SECRET-REMOVED]=========================== # GeoDjango Settings (macOS with Homebrew) # [AWS-SECRET-REMOVED]=========================== GDAL_LIBRARY_PATH=/opt/homebrew/lib/libgdal.dylib GEOS_LIBRARY_PATH=/opt/homebrew/lib/libgeos_c.dylib # Linux alternatives (uncomment if on Linux) # GDAL_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libgdal.so # GEOS_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libgeos_c.so # [AWS-SECRET-REMOVED]=========================== # Optional: Third-party Integrations # [AWS-SECRET-REMOVED]=========================== # Sentry for error tracking (uncomment to use) # SENTRY_DSN=https://your-sentry-dsn-here # Google Analytics (uncomment to use) # GOOGLE_ANALYTICS_ID=GA-XXXXXXXXX # [AWS-SECRET-REMOVED]=========================== # Development/Debug Settings # [AWS-SECRET-REMOVED]=========================== # Set to comma-separated list for debug toolbar # INTERNAL_IPS=127.0.0.1,::1 # Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) LOG_LEVEL=INFO