follow these instructions to setup HTTPS certs
docker compose down && \
docker compose up \
--build \
--detach \
--force-recreate \
--remove-orphans \
--wait &&
docker compose logs -f
docker compose down
this environment can be used to generate alembic migrations
docker compose run \
--build \
--entrypoint /bin/bash \
--rm \
--user "$(id -u):$(id -g)" \
--volume "$(pwd)/fastapi":/app:rw \
fastapi
how to work in/with this repo
git commits should adhere to the conventional commits spec
keep the repo clean, use pre-commit
-
install pre-commit
-
apply pre-commit config to local git hook script(s):
pre-commit install pre-commit install --hook-type commit-msg -
(optional, as needed) update pre-commit config to latest:
pre-commit autoupdate -
(optional, as needed) manually run pre-commit check(s)
pre-commit run --all-files