aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-05-24 21:45:25 +0200
committerGravatar Christopher Baklid <[email protected]>2018-05-24 21:45:25 +0200
commit10a205e97d399d1736fd9c806e1e309bb31ff28d (patch)
tree14ed25194db1f274e76a07fe0073db0e7d464a27 /Pipfile
parentupdate readme (diff)
generate new queue based on session id to lock user to their own event chain
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Pipfile b/Pipfile
index 54f4847..e8dae92 100644
--- a/Pipfile
+++ b/Pipfile
@@ -12,13 +12,14 @@ flask = "*"
flask-sockets = "*"
gevent = "==1.2.2"
gevent-websocket = "*"
+gunicorn = "*"
[requires]
python_version = "3.6"
[scripts]
snekbox = "python snekbox.py"
-snekweb = "python snekweb.py"
+snekweb = "gunicorn -w 1 -b 0.0.0.0:5000 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker snekweb:app"
buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ."
buildweb = "docker build -t pythondiscord/snekboxweb:latest -f docker/Dockerfile.webapp ."
pushbox = "docker push pythondiscord/snekbox:latest"