feat: add one-click deploy script + project optimization

- deploy.sh: one-click deployment (venv + pip deps + .env + gunicorn + systemd + firewall)
- gunicorn_config.py: unified gunicorn config with env var overrides
- .env.example: full env var template (admin, security, port, session, backup, etc.)
- app.py: optional dotenv .env file loading
- requirements.txt: add python-dotenv
This commit is contained in:
Your Name
2026-09-09 13:41:03 +08:00
parent 47714c9622
commit 3232159d29
5 changed files with 390 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@ Flask-SQLAlchemy>=3.1
psutil>=5.9
bcrypt>=4.0
gunicorn>=21.2
python-dotenv>=1.0.0