Simple dev target
This commit is contained in:
parent
14c810f436
commit
8ef45fd03e
@ -45,7 +45,5 @@ your technology stack.
|
||||
It's a [FastAPI](https://fastapi.tiangolo.com/) application.
|
||||
|
||||
```
|
||||
$ python3 -m venv .venv && source .venv/bin/activate
|
||||
$ pip install -e .
|
||||
$ make
|
||||
```
|
||||
|
7
makefile
7
makefile
@ -2,4 +2,9 @@
|
||||
.PHONY: run
|
||||
|
||||
run:
|
||||
@uvicorn keycloak_collective_portal:app --reload
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user