### Install Frontend Dependencies Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Installs frontend dependencies using pnpm, ensuring the lockfile is frozen for reproducible builds. ```sh pnpm i --frozen-lockfile ``` -------------------------------- ### Run OrcaCD Hub Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Starts the OrcaCD hub (control plane). Ensure all prerequisites are met before running. ```sh just run-hub ``` -------------------------------- ### Run Frontend Development Server Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Starts the Vite development server on port 3000. Proxies API requests to the Hub. ```sh node --run dev ``` -------------------------------- ### Run OrcaCD Agent Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Starts the OrcaCD agent service. This service connects to the Hub to execute deployments. ```sh just run-agent ``` -------------------------------- ### Build Frontend Production Bundle Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Creates a production-ready bundle for the frontend application. ```sh node --run build ``` -------------------------------- ### Build OrcaCD Hub and Agent Binaries Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Use this command to build both the hub and agent binaries. The output will be placed in the 'bin/' directory. ```sh just build ``` -------------------------------- ### Build OrcaCD Agent Binary Only Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Build only the agent binary. This is useful if you only need to work with the deployment service. ```sh just build-agent ``` -------------------------------- ### Build OrcaCD Hub Binary Only Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Build only the hub binary. This is useful if you only need to work with the control plane. ```sh just build-hub ``` -------------------------------- ### Format Frontend Code Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Formats the frontend code using oxfmt to ensure consistent styling. ```sh node --run format ``` -------------------------------- ### Run Single Go Test Package Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Executes tests for a specific Go package with verbose output and race detection enabled. ```sh go test -v -race ./internal/hub/crypto/... ``` -------------------------------- ### Generate Go Code from Protobuf Files Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Generates Go code from .proto files, which is used for defining WebSocket message structures. ```sh just proto ``` -------------------------------- ### Run Development Services with Docker Compose Source: https://github.com/orcacd/orca-cd/blob/main/CONTRIBUTING.md Use this command to build and run the full Orca CD stack locally using Docker Compose. The hub service will be accessible at http://localhost:8080. ```shell docker compose -f docker-compose.dev.yaml up --build ``` -------------------------------- ### Lint OrcaCD Backend Code Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Runs golangci-lint and go mod verify to ensure code quality and dependency integrity for the backend. ```sh just lint ``` -------------------------------- ### Format OrcaCD Backend Code Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Formats the backend Go code using golangci-lint. This ensures consistent code style. ```sh just fmt ``` -------------------------------- ### Lint Frontend Code Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Runs oxlint to check the frontend code for potential issues and enforce code style. ```sh node --run lint ``` -------------------------------- ### Run OrcaCD Backend Tests Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Executes all backend tests with race detection enabled to catch concurrency issues. ```sh just test ``` -------------------------------- ### Generate OrcaCD Backend Test Coverage Report Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Runs all backend tests and generates an HTML coverage report to analyze test effectiveness. ```sh just test-coverage ``` -------------------------------- ### Perform Frontend TypeScript Type Check Source: https://github.com/orcacd/orca-cd/blob/main/AGENTS.md Checks the frontend TypeScript code for type errors. ```sh node --run typecheck ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.