This commit is contained in:
pika 2025-03-30 20:32:22 +02:00
parent 539d6a6416
commit f939933a7c
9 changed files with 62 additions and 59 deletions

10
wsgi.py
View file

@ -1,7 +1,13 @@
import os
from app import create_app
# Create application instance - production
# Set the environment variable for database URL if needed
# os.environ['DATABASE_URL'] = 'your_production_database_url'
# Create a production application
app = create_app('production')
if __name__ == '__main__':
app.run()
# This is only used for development
# In production, a WSGI server would import this file
app.run(host='0.0.0.0', port=5000)