Files

16 lines
432 B
Python

#!/usr/bin/env python3
"""
WSGI entry point for the Markov Economics Flask application.
This file is used by Gunicorn to serve the application in production.
"""
import os
from app import create_app
# Use FLASK_ENV if set, otherwise default to production for Gunicorn
config_name = os.getenv('FLASK_ENV', 'production')
app = create_app(config_name)
if __name__ == "__main__":
# This is just for testing purposes
app.run()