summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py3
-rw-r--r--requirements.txt5
2 files changed, 6 insertions, 2 deletions
diff --git a/app.py b/app.py
index 5529326..c64c280 100644
--- a/app.py
+++ b/app.py
@@ -1,3 +1,4 @@
+from gevent import monkey; monkey.patch_all() # MUST BE FIRST IMPORT
from bottle import Bottle, run, debug, static_file, request, redirect, response, HTTPError
from bottle import jinja2_template as template
from oauthlib.oauth2 import WebApplicationClient
@@ -69,4 +70,4 @@ def server_static(type, filename):
debug(True)
run(app, host='localhost', port=8080, reloader=True,
- server="waitress", keyfile="./pki/server.key", certfile="./pki/server.crt")
+ server="gevent", keyfile="./pki/server.key", certfile="./pki/server.crt")
diff --git a/requirements.txt b/requirements.txt
index 06829c0..0fa0176 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,8 @@ bottle==0.12.25
bottle-sqlite==0.2.0
certifi==2024.2.2
charset-normalizer==3.3.2
-gunicorn==21.2.0
+gevent==24.2.1
+greenlet==3.0.3
idna==3.7
Jinja2==3.1.3
MarkupSafe==2.1.5
@@ -12,3 +13,5 @@ python-dotenv==1.0.1
requests==2.31.0
requests-oauthlib==2.0.0
urllib3==2.2.1
+zope.event==5.0
+zope.interface==6.3