Contributing
Prerequisites
Section titled “Prerequisites”- Python 3.12 or higher
- UV package manager
- Docker (for Apache AGE database)
Installation
Section titled “Installation”-
Clone the repository
Terminal window git clone https://github.com/openshift-hyperfleet/kartograph.gitcd kartograph -
Install Git Hooks
pre-commitandpre-pushhooks are configured to enforce coding standards and validate code with tests. The first time you commit,pre-commitwill install required packages automatically. This may take some time, but will only happen once.Terminal window uv run pre-commit install -t pre-commit -t pre-push -
Configure environment
Default Kartograph configuration files can be found in
/env. -
Run Kartograph
Kartograph can quickly be run in development mode using
docker compose:Terminal window make dev && make logsThis will first start the database and application services, with auto-reload enabled.