Skip to main content
Use this guide to set up the Charm repository for local development.

Prerequisites

  • Python 3.10 or newer.
  • Git.
  • uv.
  • Docker Desktop or Docker Engine for runner and sandbox testing.

Clone the Repository

If you plan to submit a pull request, fork the repository first and clone your fork.

Create a Virtual Environment

Activate it:
On Windows PowerShell:

Install Development Dependencies

Build the Local Runner Base Image

Some runner tests and Docker sandbox flows require the base image:

Run Tests

Validate a Template

Before Opening a PR

  • Run relevant tests.
  • Update docs when behavior changes.
  • Avoid committing secrets or local environment files.
  • Fill out the PR template with test evidence and release notes.