Flask -> FastAPI rewrite

This commit is contained in:
Eriks Karls
2023-12-14 18:57:31 +02:00
parent 91e8f7bbf4
commit 3f322e2999
19 changed files with 664 additions and 207 deletions

View File

@ -3,3 +3,19 @@ docker-build:
docker-push: docker-build
docker push registry.72.lv/flask-namedays:latest
clean:
black service
isort service
flake8 service
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
find . -name '.mypy_cache' -exec rm -fr {} +
find . -name '.pytest_cache' -exec rm -fr {} +
find . -name '.coverage' -exec rm -f {} +
install-dev:
pip install -U pur black isort flake8 pip setuptools wheel
pip install -Ur requirements.txt