Initial commit: Clean Mold Cost Calculator application
- Flask-based mold cost calculation application - PostgreSQL database with SQLAlchemy ORM - Docker/Podman containerization - Comprehensive documentation in docs/ - Clean, organized codebase without obsolete files - Production-ready deployment configuration - Enhanced pytest configuration with coverage reporting - Master/Development branch structure
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# Flask Configuration
|
||||
FLASK_APP=run.py
|
||||
FLASK_ENV=production
|
||||
FLASK_DEBUG=0
|
||||
|
||||
# Security
|
||||
SECRET_KEY=your_production_secret_key_here
|
||||
|
||||
# Database
|
||||
DATABASE_URL=postgresql://username:password@localhost/mold_cost_calculator
|
||||
|
||||
# Email Configuration
|
||||
MAIL_SERVER=smtp.gmail.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USE_TLS=True
|
||||
MAIL_USERNAME=your_production_email@gmail.com
|
||||
MAIL_PASSWORD=your_production_email_password
|
||||
MAIL_DEFAULT_SENDER=your_production_email@gmail.com
|
||||
|
||||
# Admin Account
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_EMAIL=admin@example.com
|
||||
ADMIN_PASSWORD=change_this_to_secure_password
|
||||
ADMIN_COMPANY="System Administration"
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
LOG_TO_STDOUT=False
|
||||
|
||||
# Redis Configuration (for rate limiting and caching)
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
RATELIMIT_STORAGE_URL=redis://localhost:6379/0
|
||||
CACHE_REDIS_URL=redis://localhost:6379/1
|
||||
|
||||
# Gunicorn Configuration
|
||||
WORKERS=4
|
||||
THREADS=2
|
||||
TIMEOUT=120
|
||||
MAX_REQUESTS=1000
|
||||
MAX_REQUESTS_JITTER=50
|
||||
Reference in New Issue
Block a user