# Team Tryouts Application - Environment Variables # Copy this file to .env and fill in the values for production # Security Configuration # Generate a secure random secret key: python -c "import secrets; print(secrets.token_hex(32))" SECRET_KEY=flask_app_secret_key # Set to 'true' in production to enable secure cookies (requires HTTPS) SESSION_COOKIE_SECURE=false FORCE_HTTPS=false # Flask Debug Mode - Set to 'true' only in development FLASK_DEBUG=true # Discord Bot Token (required for notifications) # This is the UdeS Esports BOT token, it will send notifications to people that have their # Dicord_User_ID in the db / remove if you don't want discord notifs. DISCORD_BOT_TOKEN=my_discord_bot_token # Discord OAuth2 Configuration (for "Connect Discord" on sign-up page) # Create an application at https://discord.com/developers/applications DISCORD_CLIENT_ID= DISCORD_CLIENT_SECRET= DISCORD_REDIRECT_URI=http://localhost:5000/auth/discord/callback #where to find the db (hosted on render for now) #Forme attendue : postgresql://utilisateur:motdepasse@hote:5432/base #Le pilote psycopg 3 est nomme automatiquement par create_app(). DATABASE_URL=URI_vers_db_posgres #Where the app will be hosted (corresponds to: localhost:5000 in local) HOST=127.0.0.1 PORT=5000