Refactoring finished :-)
eveai_workers now working (with errors ;-) ) Remote debugging now available
This commit is contained in:
11
scripts/run_eveai_app.py
Normal file
11
scripts/run_eveai_app.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from eveai_app import create_app
|
||||
from gevent.pywsgi import WSGIServer
|
||||
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
print("Server starting on port 5001")
|
||||
http_server = WSGIServer(('0.0.0.0', 5001), app) # Wrap up the Flask App using Gevent
|
||||
http_server.serve_forever() # Continuously listens for incoming requests
|
||||
|
||||
Reference in New Issue
Block a user