keycloak-collective-portal/makefile

11 lines
261 B
Makefile
Raw Normal View History

2021-06-11 11:54:05 +00:00
.DEFAULT: run
.PHONY: run
run:
2021-06-11 12:13:55 +00:00
@if [ ! -d ".venv" ]; then \
python3 -m venv .venv && \
.venv/bin/pip install -U pip setuptools wheel poetry && \
.venv/bin/poetry install --dev; \
fi
.venv/bin/poetry run uvicorn keycloak_collective_portal:app --reload