feat: initial commit - lightweight ticket system with Flask+SQLite

Features:
- User authentication (login/register)
- Ticket CRUD with status/priority/category
- Rich text description with paste-to-image
- File attachment upload (images/documents)
- Multi-select CC recipients
- Role-based permission control (admin/user)
- In-app notifications
- Statistics dashboard
- Gunicorn production deployment
This commit is contained in:
AI Agent
2026-07-02 15:31:27 +08:00
commit 26940c4574
14 changed files with 2497 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""
Gunicorn WSGI entry point.
DB initialization + upload folder setup.
"""
import os
os.makedirs(os.path.join(os.path.dirname(__file__), "uploads"), exist_ok=True)
from app import app, db, seed_admin
with app.app_context():
db.create_all()
seed_admin()