Local development¶
The local environment runs Loco's control plane and cluster components for development. Install mise and Docker or OrbStack, then use the pinned repository tools:
mise run setup
Copy .env.example to .env and supply the credentials required by that revision. Tool versions live in mise.toml and mise.lock.
mise run tilt
Tilt starts the local cluster and services. The API listens at http://localhost:8000, and the dashboard at http://localhost:5173.
Connect the CLI¶
mise run build
./bin/loco login --host http://localhost:8000
./bin/loco config set webHost http://localhost:5173
Tasks¶
mise tasks
mise run test:cli
mise run lint:go
mise run docs:serve
Use the repository's tasks for builds, tests, code generation, and linting so local tools match CI. See documentation maintenance to edit this site.