- Install Poetry
- Install dependencies
poetry install --no-root --with dev
- Setup pre-commit hooks
poetry run pre-commit install --install-hooks -t pre-commit -t commit-msg
- Run app
Or
poetry run python -m src.api
poetry run uvicorn src.api.app:app --use-colors --proxy-headers --forwarded-allow-ips=*
- Run
poetry update
to update all dependencies - Run
poetry show --outdated
to check for outdated dependencies - Run
poetry add <package>@latest
to add a new dependency if needed
- Run
poetry run pre-commit autoupdate