Initial release - Dune Awakening Dashboard beta
This commit is contained in:
commit
59cc98133c
51 files changed
+8428
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Dune Awakening Dashboard - Entry Point"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from app.factory import create_app
|
||||
|
||||
app, socketio = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
settings = app.dune_settings
|
||||
host = settings['dashboard']['host']
|
||||
port = settings['dashboard']['port']
|
||||
debug = settings['dashboard']['debug']
|
||||
|
||||
print(f"\n Dune Awakening Dashboard")
|
||||
print(f" http://{host}:{port}")
|
||||
print(f" Debug: {debug}\n")
|
||||
|
||||
socketio.run(app, host=host, port=port, debug=debug)
|
||||
Reference in new issue
Block a user