aioredis integration and forced authentication

This commit is contained in:
decentral1se
2021-06-12 00:53:57 +02:00
parent 1acc7705df
commit 96e718db3a
5 changed files with 163 additions and 21 deletions

View File

@ -1,5 +1,5 @@
.DEFAULT: run
.PHONY: run
.PHONY: run redis
run:
@if [ ! -d ".venv" ]; then \
@ -8,3 +8,6 @@ run:
.venv/bin/poetry install --dev; \
fi
.venv/bin/poetry run uvicorn keycloak_collective_portal:app --reload
redis:
@docker run -p 6379:6379 --name redis -d redis:6-alpine