adding a make setup rule
This commit is contained in:
parent
361a70fa6c
commit
941c234795
@ -1,9 +1,14 @@
|
|||||||
all: local
|
all: local
|
||||||
|
|
||||||
|
setup:
|
||||||
|
@echo "Running: python3 -m venv .venv"
|
||||||
|
@python3 -m venv .venv
|
||||||
|
@echo "Running: .venv/bin/pip3 install -r requirements.txt\n"
|
||||||
|
@.venv/bin/pip3 install -r requirements.txt
|
||||||
|
@echo "\nDone!\nNow you can configure wiki-to-print by editing: config.json"
|
||||||
|
|
||||||
local:
|
local:
|
||||||
./venv/bin/python3 web-interface.py
|
.venv/bin/python3 web-interface.py
|
||||||
|
|
||||||
server:
|
server:
|
||||||
@SCRIPT_NAME=/wiki-to-print venv/bin/gunicorn -b localhost:5522 --reload web-interface:APP
|
@SCRIPT_NAME=/wiki-to-print .venv/bin/gunicorn -b localhost:5522 --reload web-interface:APP
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user