push
This commit is contained in:
10
app.py
Normal file
10
app.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
from mikromon import create_app, socketio
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == "__main__":
|
||||
host = os.getenv("HOST", "127.0.0.1")
|
||||
port = int(os.getenv("PORT", "5000"))
|
||||
debug = os.getenv("FLASK_ENV", "development") == "development"
|
||||
socketio.run(app, host=host, port=port, debug=debug)
|
||||
Reference in New Issue
Block a user