Init project files

This commit is contained in:
decentral1se
2021-06-16 10:01:13 +02:00
parent ee0a434c0b
commit 3359aafcff
8 changed files with 1307 additions and 0 deletions

10
makefile Normal file
View File

@ -0,0 +1,10 @@
.DEFAULT: run
.PHONY: run
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 pubspace:app --reload