From 9edabe03975d86a3e18a47d3a4d2c5b2cf1e0bc7 Mon Sep 17 00:00:00 2001 From: Iyeoluwa Akinrinola Date: Fri, 25 Jul 2025 12:00:52 +0100 Subject: [PATCH] Add updated .env template without hardcoded Zoho credentials --- env_template.txt | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 env_template.txt diff --git a/env_template.txt b/env_template.txt new file mode 100644 index 0000000..c68d42b --- /dev/null +++ b/env_template.txt @@ -0,0 +1,55 @@ +# Email Alerts Application - Environment Variables Template +# Server: 104.225.217.215:5237 +# Copy this content to .env and fill in your actual values + +# ============================================================================= +# API KEYS (Required) +# ============================================================================= + +# Twilio Configuration (for SMS alerts) +TWILIO_ACCOUNT_SID=your_twilio_account_sid_here +TWILIO_AUTH_TOKEN=your_twilio_auth_token_here +TWILIO_PHONE_NUMBER=your_twilio_phone_number_here + +# Groq API Configuration (for AI analysis) +GROQ_API_KEY=your_groq_api_key_here + +# ============================================================================= +# ZOHO CREDENTIALS (Now set through frontend settings) +# ============================================================================= +# Note: Zoho credentials are now configured through the web interface +# Go to Settings page to configure your Zoho email and app password +# These are no longer needed in .env file: +# ZOHO_EMAIL= (removed - set via frontend) +# ZOHO_APP_PASSWORD= (removed - set via frontend) + +# ============================================================================= +# APPLICATION SETTINGS +# ============================================================================= + +# Flask Configuration +FLASK_ENV=production +FLASK_DEBUG=False +SECRET_KEY=your_secret_key_here_change_this_in_production + +# Server Configuration +HOST=0.0.0.0 +PORT=5237 + +# ============================================================================= +# OPTIONAL SETTINGS +# ============================================================================= + +# Logging Level (DEBUG, INFO, WARNING, ERROR) +LOG_LEVEL=INFO + +# Auto-processing interval (in seconds) +AUTO_PROCESS_INTERVAL=300 + +# ============================================================================= +# DEPLOYMENT NOTES +# ============================================================================= +# 1. Replace all "your_*_here" values with your actual credentials +# 2. Zoho credentials are now set through the web interface +# 3. Keep this file secure and never commit it to version control +# 4. For production, use strong, unique values for all credentials \ No newline at end of file