android app
This commit is contained in:
11
saars/backend/run.py
Normal file
11
saars/backend/run.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
Entry point: run Flask app with SocketIO.
|
||||
"""
|
||||
import os
|
||||
from app import create_app, socketio
|
||||
|
||||
app = create_app(os.getenv("FLASK_ENV", "development"))
|
||||
|
||||
if __name__ == "__main__":
|
||||
port = int(os.getenv("PORT", 8052))
|
||||
socketio.run(app, host="0.0.0.0", port=port, debug=app.debug)
|
||||
Reference in New Issue
Block a user