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