csv-library-website/makefile
2021-05-03 16:55:38 +02:00

15 lines
259 B
Makefile

default: run
setup:
@python3 -m venv .venv && \
.venv/bin/pip install -r requirements.txt && \
pip install -e .
run:
@.venv/bin/python library/page.py
serve:
@cd library && ../.venv/bin/uwsgi --http 127.0.0.1:6666 --module page:APP
.PHONY: setup run