Files
buchwerk/Makefile
2026-09-27 21:36:33 +02:00

16 lines
317 B
Makefile

PY := .venv/bin/python
install:
python3 -m venv .venv
.venv/bin/pip install -r backend/requirements.txt
cd frontend && npm install
build:
cd frontend && npm run build
run:
$(PY) -m uvicorn backend.main:app --port 8020
dev:
$(PY) -m uvicorn backend.main:app --reload --port 8020 & cd frontend && npm run dev