summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1f72d53..34a3d59 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,28 @@
1all: install 1all: install
2 2
3import: venv 3install: venv/bin/flask
4
5import: install
4 venv/bin/python3 ./halfnarp2.py -i 6 venv/bin/python3 ./halfnarp2.py -i
5 7
6do-export: venv 8do-export: install
7 venv/bin/python3 ./halfnarp2.py -e 9 venv/bin/python3 ./halfnarp2.py -e
8 10
9run: venv 11run: install
10 PYTHONIOENCODING=utf-8 venv/bin/python3 ./halfnarp2.py 12 PYTHONIOENCODING=utf-8 venv/bin/python3 ./halfnarp2.py
11 13
12run-fullnarp: venv 14run-halfnarp-waitress: install venv/bin/waitress-serve
15 PYTHONIOENCODING=utf-8 venv/bin/python3 venv/bin/waitress-serve --host 127.0.0.1 --port 5023 wsgi:app
16
17run-fullnarp: install
13 PYTHONIOENCODING=utf-8 venv/bin/python3 ./fullnarp.py 18 PYTHONIOENCODING=utf-8 venv/bin/python3 ./fullnarp.py
14 19
20venv/bin/waitress-serve: install
21 venv/bin/pip install waitress
22
15venv: 23venv:
16 python3 -m venv ./venv 24 python3 -m venv ./venv
17 25
18install: venv 26venv/bin/flask: venv
19 venv/bin/pip install --upgrade pip 27 venv/bin/pip install --upgrade pip
20 venv/bin/pip install -r requirements.txt 28 venv/bin/pip install -r requirements.txt