This commit is contained in:
Mateusz Gruszczyński
2026-03-05 15:53:33 +01:00
commit e8f6c4c609
74 changed files with 4482 additions and 0 deletions

10
app.py Normal file
View 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)