26940c4574
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
15 lines
266 B
Python
15 lines
266 B
Python
"""
|
|
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()
|