Initial commit: Quality App v2 - FG Scan Module with Reports

This commit is contained in:
Quality App Developer
2026-01-25 22:25:18 +02:00
commit 3c5a273a89
66 changed files with 15368 additions and 0 deletions

31
run.py Normal file
View File

@@ -0,0 +1,31 @@
"""
Application Entry Point
Run the Flask application
"""
from app import create_app, database
import os
import logging
# Create Flask app
app = create_app()
# Initialize database with app
database.init_app(app)
# Setup logging
logger = logging.getLogger(__name__)
if __name__ == '__main__':
port = int(os.getenv('APP_PORT', 8080))
host = os.getenv('APP_HOST', '0.0.0.0')
debug = os.getenv('FLASK_ENV', 'production') == 'development'
logger.info(f"Starting Flask application on {host}:{port}")
logger.info(f"Debug mode: {debug}")
app.run(
host=host,
port=port,
debug=debug,
use_reloader=False
)