Deploying
Kazzle apps can be deployed to Kazzle’s hosting or installed on device computers.Remote deploy
Deploys are asynchronous: the app page, the AI, orkazzle deploy from a checkout queues a server-side deploy job. kazzle deploy uploads your checkout; the deploy runner builds and ships it.
For each component:
- UI components are built into a Docker image that runs
bun run build(yourpackage.jsonmust define abuildscript) - Process components run their
runtime.runcommand fromkazzle.config.ts- deploy fails if it’s missing - Each component gets its own image and deployment
- A production URL is assigned
Production URLs
Deployed apps get a URL likehttps://kazzle-{appId}.kazzle.app. Apps with multiple process components get one URL per component. Public apps are accessible to anyone with the URL. Private apps require Kazzle authentication.
Runtime commands in production
| Phase | Command | When |
|---|---|---|
build | package.json build script | During deploy of UI components |
run | runtime.run in kazzle.config.ts | In production, starts a process component |
bun server/index.ts) - the deployed runtime injects PORT, HOST, and secrets directly. See the Kazzle CLI page for the dev/production split.
Local install
Apps can also run on device computers (your local machine) via the Kazzle daemon. Theruntime.dev command starts the app in development mode.