forked from retoor/snek
Progress.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
PYTHON=./.venv/bin/python
|
||||
PIP=./.venv/bin/pip
|
||||
APP=./venv/bin/snek.serve
|
||||
APP=./.venv/bin/snek.serve
|
||||
GUNICORN=./.venv/bin/gunicorn
|
||||
GUNICORN_WORKERS = 1
|
||||
PORT = 8081
|
||||
|
||||
|
||||
@@ -9,5 +11,5 @@ install:
|
||||
$(PIP) install -e .
|
||||
|
||||
run:
|
||||
$(APP) --port=$(PORT)
|
||||
$(GUNICORN) -w $(GUNICORN_WORKERS) -k aiohttp.worker.GunicornWebWorker snek.gunicorn:app --bind 0.0.0.0:$(PORT) --reload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user