+ add Web App (WIP)
This commit is contained in:
16
run.py
16
run.py
@@ -1,7 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
from gui.gui import Gui
|
||||
import sys
|
||||
# from gui.gui import Gui
|
||||
# import sys
|
||||
|
||||
do_debug = "--debug" in sys.argv
|
||||
# do_debug = "--debug" in sys.argv
|
||||
|
||||
Gui(theme='DarkGrey11', debug_mode=do_debug)
|
||||
# Gui(theme='DarkGrey11', debug_mode=do_debug)
|
||||
|
||||
# Web App
|
||||
from Web import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(port=5000 ,debug=True)
|
||||
Reference in New Issue
Block a user