init
This commit is contained in:
13
makefile
Normal file
13
makefile
Normal file
@ -0,0 +1,13 @@
|
||||
.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; \
|
||||
fi
|
||||
.venv/bin/poetry run uvicorn members_lumbung_space.main:app --reload
|
||||
|
||||
redis:
|
||||
@docker run -p 6379:6379 --name redis -d redis:6-alpine
|
||||
Reference in New Issue
Block a user