| title | Deploy your first app |
|---|---|
| description | Deploy the quickstart example as an incremental app release. |
Incremental app releases require the v0.13 CLI and matching server capability. v0.13 is currently available as a release candidate; see installation requirements.
Create a Rigbox account, install the CLI, and install Git locally. Run every command below on your local machine.
rig login
rig whoami
rig --versionUse the v0.13 CLI. Browser sign-in stores credentials for subsequent commands.
git clone --branch codex/examples-docs-v013 https://github.com/rigbox-dev/rigbox-examples.git
cd rigbox-examples/quickstartThe example is a TypeScript HTTP service. Its rig.yaml declares port 8080, npm ci, npm start, and /healthz. Open that file and make the deployment choice and route explicit:
workspace:
deployment:
strategy: incremental
resources: { ramMb: 1024, vcpuCount: 1, diskSizeMb: 3072 }Keep the other application fields. Add visibility: public at the top level if you want anyone to open the example URL; otherwise the route stays private.
From the example directory:
rig deploy --name my-first-appRigbox creates a workspace, prepares the app in a managed release directory, installs dependencies, activates it, and checks health. Subsequent deploys reuse the workspace recorded in .rig.lock. Keep that file locally; do not copy a production binding into an unrelated project.
rig app ls --workspace my-first-app
rig app health --app <APP_NAME> --output json
rig app-release ls --workspace my-first-appReplace <APP_NAME> with the name returned by the list command. Verify live and port_open are true, then open the actual URL returned by Rigbox. A private route may require authentication.
Edit the example and run rig deploy again from the same directory. Activation briefly restarts the affected service; it does not replace the workspace filesystem. See the development loop and app rollback.
If install or health checking fails, find the release ID with rig app-release ls --workspace my-first-app and read rig app-release logs --workspace my-first-app --release <RELEASE_ID>. Confirm the process listens on port 8080 and /healthz returns success before retrying.
When you no longer need this test environment, inspect its apps and data first, then remove the workspace with rig workspace rm --workspace my-first-app. This removes the workspace; export data you want to retain before cleanup.
For the earlier workspace-first quickstart, use Create and manage workspaces, then install a catalog app.
Catalog recipes are documented in Catalog apps. Source deployment above uses an app release instead.
Follow AI coding tools and Managed AI proxy.
Continue with multi-app projects, GitHub deployment, or the manifest reference.