RootCX
Pricing
Customers
Blog
Docs

By audience

Builders
Ship AI-coded apps to production
Agencies
Deliver professional, code-first client projects

Build

AI Agents
Agents that do the work
Internal Apps
Build by describing
Integrations
Connect your tools
Claude Code
Build from your terminal

Run

App Library
Pre-built, ready to extend
Infrastructure
Database, hosting, logs

Govern

Security
SSO, RBAC, audit, vault
RootCX/RootCX
Introduction
What is RootCX?Getting StartedHow it Works
Build
ApplicationAI AgentIntegrationDeploying
Platform
CoreAuthenticationRBACData APISecret VaultJob QueueScheduled Jobs (Crons)Audit LogReal-time LogsChannels
Developers
React SDKBackend & RPCManifest ReferenceREST APICLIClaude CodeSelf-Hosting
DocsBuildDeploying Your Apps

Deploying Your Apps

Deploy with a single command. The platform handles schema sync, backend compilation, frontend publishing, and process supervision.


Deploy from the CLI

rootcx deploy

That's the entire deployment workflow. The CLI deploys to the Core instance you're signed in to. If you created your project on rootcx.com, your app is immediately live at https://<your-ref>.rootcx.com/apps/<appId>/.

You can also deploy from RootCX Studio by pressing Run.


What Happens on Deploy

The CLI executes a pipeline:

  1. Install dependencies -- runs bun install if a package.json is present in the project root.
  2. Build frontend -- runs bun run build if a src/ directory exists.
  3. Install manifest -- sends manifest.json to the Core, which registers (or updates) the application, its entities, fields, permission keys, and actions.
  4. Deploy backend -- the backend worker is uploaded and started under the Core's process supervisor. If a previous worker is running, it is replaced.
  5. Publish frontend -- uploads the built static assets to the Core, which serves them at /apps/{appId}/.

Each step logs output in real time. If any step fails, the error is shown immediately.


How Apps Are Served

Apps built on RootCX can run in three ways:

Mode How it works
Web The Core serves your built frontend at /apps/{appId}/. Accessible from any browser.
Dev (Studio) During development, Studio runs a Vite dev server with hot reload in a native window.
Native app Build a standalone .dmg, .msi, or .AppImage that bundles the frontend and auto-connects to the Core on launch.

Deploy via API

You can also deploy without the CLI using the REST API:

# Deploy backend
cd backend && tar -czf ../app.tar.gz . && cd ..
curl -X POST https://<your-ref>.rootcx.com/api/v1/apps/crm/deploy \
  -H "Authorization: Bearer $TOKEN" \
  -F "archive=@app.tar.gz"

# Deploy frontend (after building with vite)
cd dist && tar -czf ../frontend.tar.gz . && cd ..
curl -X POST https://<your-ref>.rootcx.com/api/v1/apps/crm/frontend \
  -H "Authorization: Bearer $TOKEN" \
  -F "archive=@frontend.tar.gz"

Further Reading

  • Getting Started -- first launch and your first deploy.
  • Backend Development -- lifecycle hooks, RPC, and error handling.
  • Self-Hosting -- run the Core on your own infrastructure.
  • Core reference -- architecture and configuration of the Core daemon.
PreviousIntegrationNextCore

On this page

Deploy from the CLI
What Happens on Deploy
How Apps Are Served
Deploy via API
Further Reading