Run the local quickstart
After installation, the shortest path to the local product is:
cd ~/.onecomputer/src
pnpm devOpen the dashboard/API at http://localhost:10254 and the gateway health surface at http://localhost:10255.
Manual setup
If you skipped dependencies or prefer explicit commands:
corepack enable
pnpm install --frozen-lockfile
cp .env.example .env
pnpm db:generate
pnpm db:up
pnpm db:migrate
pnpm devDo not commit .env. Keep local secrets local and use separate values for every environment.
Verify the workspace
Run the repository checks before making changes:
pnpm check-types
pnpm lint
pnpm buildFor a release-shaped check, also run the relevant gateway tests:
pnpm --filter @onecli/gateway check-types
pnpm --filter @onecli/gateway testMake a safe first change
Use a branch, make one bounded change, and verify it before moving to the next layer:
git switch -c codex/my-onecomputer-change
pnpm lint
pnpm build
git diff --check
git status --shortThe workspace still contains internal @onecli/* package scopes. That is an intentional compatibility boundary; do not perform a broad rename while changing product behavior.
What local development does not prove
Local success proves that the selected code path builds and can run against local dependencies. It does not prove:
- production OpenVTC identity;
- delivery to a real manager wallet;
- cryptographic signing of the exact held action;
- Azure systemd/Nginx configuration;
- sandbox isolation under production load.
Those are separate readiness gates, documented in Current status and Azure deployment.