Initial commit
This commit is contained in:
commit
983cee0320
322 changed files with 57174 additions and 0 deletions
75
backup/first -fina app/.env.example
Executable file
75
backup/first -fina app/.env.example
Executable file
|
|
@ -0,0 +1,75 @@
|
|||
# FINA Finance Tracker - Environment Configuration
|
||||
# Copy this file to .env and update with your values
|
||||
|
||||
# =============================================================================
|
||||
# SECURITY
|
||||
# =============================================================================
|
||||
# Generate with: python -c "import secrets; print(secrets.token_hex(32))"
|
||||
SECRET_KEY=change-this-to-a-random-secret-key-at-least-32-characters-long
|
||||
|
||||
# =============================================================================
|
||||
# DATABASE
|
||||
# =============================================================================
|
||||
DATABASE_URL=sqlite:///finance.db
|
||||
|
||||
# =============================================================================
|
||||
# REDIS CACHE
|
||||
# =============================================================================
|
||||
REDIS_URL=redis://redis:6369/0
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6369
|
||||
|
||||
# =============================================================================
|
||||
# APPLICATION
|
||||
# =============================================================================
|
||||
FLASK_ENV=production
|
||||
APP_URL=http://localhost:5001
|
||||
|
||||
# =============================================================================
|
||||
# EMAIL CONFIGURATION (For Budget Alerts)
|
||||
# =============================================================================
|
||||
# SMTP Server Settings
|
||||
MAIL_SERVER=smtp.gmail.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USE_TLS=true
|
||||
MAIL_USE_SSL=false
|
||||
|
||||
# Email Credentials
|
||||
# For Gmail: Create an App Password at https://myaccount.google.com/apppasswords
|
||||
MAIL_USERNAME=your-email@gmail.com
|
||||
MAIL_PASSWORD=your-app-password-here
|
||||
|
||||
# Sender Information
|
||||
MAIL_DEFAULT_SENDER=noreply@fina.app
|
||||
|
||||
# =============================================================================
|
||||
# POPULAR SMTP PROVIDERS (uncomment and configure as needed)
|
||||
# =============================================================================
|
||||
|
||||
# --- Gmail (Requires App Password with 2FA) ---
|
||||
# MAIL_SERVER=smtp.gmail.com
|
||||
# MAIL_PORT=587
|
||||
# MAIL_USE_TLS=true
|
||||
|
||||
# --- SendGrid ---
|
||||
# MAIL_SERVER=smtp.sendgrid.net
|
||||
# MAIL_PORT=587
|
||||
# MAIL_USERNAME=apikey
|
||||
# MAIL_PASSWORD=your-sendgrid-api-key
|
||||
|
||||
# --- Mailgun ---
|
||||
# MAIL_SERVER=smtp.mailgun.org
|
||||
# MAIL_PORT=587
|
||||
# MAIL_USERNAME=postmaster@your-domain.mailgun.org
|
||||
# MAIL_PASSWORD=your-mailgun-password
|
||||
|
||||
# --- Amazon SES ---
|
||||
# MAIL_SERVER=email-smtp.us-east-1.amazonaws.com
|
||||
# MAIL_PORT=587
|
||||
# MAIL_USERNAME=your-ses-username
|
||||
# MAIL_PASSWORD=your-ses-password
|
||||
|
||||
# --- Outlook/Office365 ---
|
||||
# MAIL_SERVER=smtp-mail.outlook.com
|
||||
# MAIL_PORT=587
|
||||
# MAIL_USE_TLS=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue