Skip to content

Development Setup

This document describes how to set up a development environment for Otterdog.

Basic prerequisite tools

Verify that you have Make installed We use Make to run, build, update docs, tests, formatting, etc. Verify that you have Make installed in your environment.

make --version
If you do not have Make installed, consult your operating system documentation on how to install make.

Install poetry (preferred using pipx)

pipx install poetry

or alternatively

curl -sSL https://install.python-poetry.org | python3 -

[Optional] Otterdog WebApp development prerequisites

  • Docker Engine (including Docker Compose)
  • Minikube
  • Helm
  • Skaffold

Why Docker?

Docker simplifies development environment set up.

Install Docker Engine

Why Minikube?

Minikube will provide a local kubernetes cluster and using Otterdog from helm charts

Install Minikkube

Why helm?

Helm will deploy otterdog, dependency-track and ghproxy in the minikube cluster.

Install Helm

Why Skaffold?

Skaffold will build, deploy and watch your development environment, including the infrastructure services redis, mongodb and ghproxy.

Install Skaffold