wip
This commit is contained in:
parent
539d6a6416
commit
f939933a7c
9 changed files with 62 additions and 59 deletions
10
wsgi.py
10
wsgi.py
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue