keycloak-collective-portal/makefile
decentral1se d22abd2bc5
All checks were successful
continuous-integration/drone/push Build is passing
The Big Refactor
Closes #3.
Closes #5.
Closes #7.
Closes #4.
Closes #2.
2021-06-13 12:20:16 +02:00

14 lines
337 B
Makefile

.DEFAULT: run
.PHONY: run redis
run:
@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.main:app --reload
redis:
@docker run -p 6379:6379 --name redis -d redis:6-alpine