15 lines
259 B
Makefile
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
|