We use poetry for managing the package. Make sure you have this installed with Python3.10 or higher.
First, make sure you have the PostGIS database with TIGER data running. (Steps documented elsewhere.)
After cloning the repo and installing poetry
, run the following commands:
# Install dependencies
poetry install --with dev
# Install git hooks
poetry run pre-commit install
poetry run uvicorn addresses_api:app --reload
poetry run pytest