mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
Refactored client side with vue cli
This commit is contained in:
11
backend/Main.py
Normal file
11
backend/Main.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import tornado.ioloop
|
||||
|
||||
from app.ChameleonVisionApp import ChameleonApplication
|
||||
from tornado.options import options
|
||||
|
||||
if __name__ == "__main__":
|
||||
tornado.options.parse_command_line()
|
||||
app = ChameleonApplication()
|
||||
print(f"Serving on port {options.port}")
|
||||
app.listen(options.port)
|
||||
tornado.ioloop.IOLoop.current().start()
|
||||
Reference in New Issue
Block a user