This is an example configuration file. Copy this to a new file named '.env' and fill in the production values before deploying. --- Database Configuration --- The full connection string for your production PostgreSQL database on AWS RDS or another service. DATABASE_URL=postgresql://YOUR_DATABASE_USER:YOUR_DATABASE_PASSWORD@YOUR_DATABASE_HOST:5432/YOUR_DATABASE_NAME --- Application Security --- A long, random, and secret string used for signing sessions. You can generate one using: openssl rand -hex 32 SECRET_KEY=your_super_secret_and_random_string_here --- CORS Configuration --- The full public URL of the server where this application will be hosted. IMPORTANT: Use http or https as appropriate. Do NOT include a trailing slash. Example for an IP: https://www.google.com/search?q=http://54.123.45.67 Example for a domain: [suspicious link removed] CORS_ALLOWED_ORIGIN=http://YOUR_SERVER_PUBLIC_IP_OR_DOMAIN Example: # --- Flask Application Settings --- # This is a secret key used by Flask for session management. # You can generate a new one with: python -c 'import os; print(os.urandom(24).hex())' SECRET_KEY="80473e17c5707e19252ef3736fba32805be21a9b3e914190" # --- PostgreSQL Database Connection --- # Replace with your actual database credentials. # Format: postgresql://:@:/ DATABASE_URL="postgresql://swap_app_user:2004@localhost:5432/swap_station_db" # DATABASE_URL="postgresql://swap_app_user:Vec%40123@localhost:5432/swap_station_db" # --- CORS Configuration --- # The public URL or IP address where this application will be hosted. CORS_ALLOWED_ORIGIN=http://54.123.45.67 # this is an example for domain CORS_ALLOWED_ORIGIN=https://www.swapstation-analytics.com