You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
415 B
14 lines
415 B
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:
|
|
.venv/bin/python3 web-interface.py
|
|
|
|
server:
|
|
@SCRIPT_NAME=/wiki-to-print .venv/bin/gunicorn -b localhost:5522 --reload web-interface:APP
|
|
|