11 lines
237 B
Makefile
11 lines
237 B
Makefile
.DEFAULT: run
|
|
.PHONY: run
|
|
|
|
run:
|
|
@if [ ! -d ".venv" ]; then \
|
|
python3 -m venv .venv && \
|
|
.venv/bin/pip install -U pip setuptools wheel poetry && \
|
|
.venv/bin/poetry install; \
|
|
fi
|
|
.venv/bin/poetry run uvicorn pubspace:app --reload
|