Refactoring finished :-)

eveai_workers now working (with errors ;-) )
Remote debugging now available
This commit is contained in:
Josako
2024-05-07 22:51:48 +02:00
parent 494d5508ae
commit cd5afa0408
14 changed files with 147 additions and 31 deletions

11
scripts/run_eveai_app.py Normal file
View 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