init
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user