Files
quality_app/py_app/wsgi.py
Quality App Developer a8824d6f69 updated code
2025-12-25 22:45:22 +02:00

19 lines
497 B
Python

#!/usr/bin/env python3
"""
WSGI Entry Point for Trasabilitate Application
This file serves as the entry point for WSGI servers like Gunicorn.
"""
import os
import sys
from app import create_app
# Add the current directory to Python path
sys.path.insert(0, os.path.dirname(__file__))
# Create the Flask application instance
application = create_app()
# For debugging purposes (will be ignored in production)
if __name__ == "__main__":
application.run(debug=False, host='0.0.0.0', port=8781)