Files
portainer/CLAUDE.md
T

2.5 KiB

Portainer Community Edition

Open-source container management platform with full Docker and Kubernetes support.

Project Structure

For a detailed breakdown of frontend and backend directory layout, feature locations, and common development tasks, see docs/guidelines/project-structure.md.

Frontend Guidelines

Backend Guidelines

Package Manager

  • PNPM 10+ (for frontend)
  • Go 1.26.1 (for backend)

Build Commands

# Full build
make build              # Build both client and server
make build-client       # Build React/AngularJS frontend
make build-server       # Build Go binary
make build-image        # Build Docker image

# Development
make dev                # Run both in dev mode
make dev-client         # Start webpack-dev-server (port 8999)
make dev-server         # Run containerized Go server

# Frontend
pnpm dev            # Webpack dev server
pnpm build          # Build frontend with webpack
pnpm typecheck      # Run typecheck for frontend (with tsc)
pnpm lint           # lint frontend (with eslint)
pnpm test           # test frontend (with vitest)
pnpm format         # format frontend (with prettier)

# Testing
make test               # All tests (backend + frontend)
make test-server        # Backend tests only
make lint               # Lint all code
make format             # Format code

Development Servers