Files
creator3/Makefile
2026-07-23 16:07:36 +02:00

20 lines
390 B
Makefile

PY := .venv/bin/python
PIP := .venv/bin/pip
install:
python3 -m venv .venv
$(PIP) install -r backend/requirements.txt
cd frontend && npm install
dev:
$(PY) -m uvicorn backend.main:app --reload --port 8000 & cd frontend && npm run dev
test:
CREATOR_FAKE=1 $(PY) -m pytest -x -q
test-e2e:
CREATOR_FAKE=1 $(PY) -m pytest -x -q tests/test_e2e.py
build:
cd frontend && npm run build