Installation¶
This guide covers the prerequisites and installation steps for the Cats API.
Prerequisites¶
- Python: >= 3.10
- Docker: For containerized deployment
- Git: For cloning the repository
- Just: Task runner (optional, install via
pip install just
)
Installation Steps¶
- Clone the Repository:
- Set Up Virtual Environment:
- Install Dependencies: Use the provided just command to bootstrap the environment:
This copies .env.dist to .env, installs dependencies, and sets up pre-commit hooks.
- Docker Setup (Optional): To run the full stack with Docker:
This starts all services defined in docker-compose.dev.yaml, including the API, database, and observability tools.