start project

This commit is contained in:
Hemmat
2026-08-07 21:17:17 +03:30
commit ea1e1eead6
121 changed files with 8108 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Copy to .env for local dev (python-dotenv). In production, set these via
# cPanel's Python App "Environment Variables" UI — never commit a real .env.
FLASK_ENV=development
SECRET_KEY=change-me
DATABASE_URL=sqlite:///kavosh.db
DB_POOL_SIZE=3
DB_POOL_RECYCLE_SECONDS=280
CACHE_TYPE=FileSystemCache
CACHE_DIR=/tmp/kavosh-cache
CACHE_DEFAULT_TIMEOUT=60
SESSION_COOKIE_SECURE=true
SESSION_LIFETIME_HOURS=12
UPLOAD_MAX_SIZE_MB=500
UPLOAD_DIR=/home/kavosh/uploads
PARSE_BATCH_SIZE=5000
ADMIN_EMAIL=admin@example.com
# Optional (Chapter 12): only used if you want a rotating-file logging
# fallback in addition to stdout — leave unset to log to stdout only.
# LOG_FALLBACK_FILE=/home/kavosh/logs/kavosh.log