Private development environment
Run a development copy of the website, connect page, and backend that only you can reach.
A development environment lets you test pairing, GitHub linking, and remote control against your own backend without touching production. It uses the same parts as your own cloud, with three extra locks so nobody else can use it.
Layout
| Part | Development |
|---|---|
Website and /connect |
The development Worker on vectis-dev.<account>.workers.dev |
| Backend | Your Convex development deployment |
| Sign-in | Your Clerk development instance |
| GitHub App | A private App named like Vectis [DEV] |
| Local builds | Every source checkout: pnpm vectis, pnpm mcp, pnpm desktop:start |
Source checkouts read CONVEX_URL and VECTIS_WEB_URL from .env.local, so once the file is filled in, pairing and login links point at the development environment automatically.
Set it up
- Follow Run your own cloud with development values. Set
VECTIS_WEB_URLtohttps://vectis-dev.<account>.workers.dev. - Deploy the website with
pnpm site:deploy:dev. - Lock the website. In the Cloudflare dashboard, open Workers & Pages, select
vectis-dev, go to Settings > Domains & Routes, and choose Enable Cloudflare Access forworkers.dev. Edit thevectis-dev - Productionpolicy in Zero Trust so it allows only your email address. GitHub webhooks go straight to Convex, so nothing needs a bypass. - Lock sign-in. In the Clerk development instance, open Configure > Restrictions, turn on the allowlist with your email addresses, and enforce it on sign-in as well as sign-up. Nobody else can create an account or sign in, so nobody else can approve a pairing or control a machine.
- Lock the GitHub App. Create it with
VECTIS_GITHUB_APP_PUBLIC=false, so it can only be installed on the account that owns it.
Check the locks
- In a private browser window,
https://vectis-dev.<account>.workers.dev/connectshows the Cloudflare Access login instead of the page. - Signing in or signing up with another email address is refused.
- The App’s public page on GitHub offers installation only to its owner.
Use it
export VECTIS_HOME="$(mktemp -d)"
pnpm build
pnpm vectis service start
pnpm vectis cloud pair
The pairing link opens your development /connect page. Pass --home or VECTIS_HOME to keep test machines separate from ~/.vectis-dev.