Deploy
Deploy Rayfin projects to managed Fabric apps, manage deployment targets, and understand capacity and static hosting.
Deploying ships a Rayfin project to a managed Fabric app. The deploy workflow syncs backend settings, applies schema changes, builds and uploads static assets, and records the Fabric target.
npx rayfin login
npx rayfin up
npx rayfin up statusUse Develop locally for the inner loop. npm run dev runs rayfin dev and never publishes static content; rayfin up publishes a production build.
In this section
- Fabric apps — item model, prerequisites, child services, permissions, and capacity readiness.
- Deploying with rayfin up — full deploy workflow, flags, dry-run behavior, and deployment metadata.
- Deployment pipelines — promote pre-built Fabric AppBackend artifacts between Fabric stages.
- Secrets — store and apply secret values.
- Environments and configuration — files, variables, and active deployments.
- Capacity and billing — which Fabric operations consume CUs.
- Deployment troubleshooting — exact errors and fixes.
Inspect my Rayfin project before deployment. Read rayfin/rayfin.yml, package.json, and rayfin/.deployments.json if present. Tell me which Fabric workspace and item `npx rayfin up` will target, whether static hosting and Functions are enabled, and whether I should use `npm run dev`, `npx rayfin up`, or a narrower subcommand for the change I am making.