| You want… | Use |
|---|---|
| A CMS UI collaborators can edit through | primo deploy |
| A static site on any static host | primo build |
primo deploy — Editable CMS
Deploy your entire workspace (every site under sites/, plus library/ and server.yaml) as one editable Primo instance:
server.yaml).
Railway
Railway is the easiest path — one command, automatic SSL, persistent volume included. Prerequisites:- Railway CLI installed and logged in (
railway login) - A Railway account ($5/month minimum)
/app/pb_data, and prints the deployed URL.
Fly.io
Fly.io has a generous free tier and global edge regions. Prerequisites:- Fly CLI installed (
fly auth login) - A Fly.io account
Updating a Deployed Workspace
Once deployed, push subsequent changes withprimo push:
primo build — Static Site
Build a single site as static HTML/CSS/JS for any static host:
Choosing a Host
Railway (recommended for most teams)
Railway (recommended for most teams)
- One-command deploy from the CLI
- Automatic SSL and persistent storage
- From $5/month
- Best for: production sites with collaborators who edit content
Fly.io
Fly.io
- Free tier with 3GB persistent volume
- Global edge deployment
- Best for: prototypes, low-traffic sites, regional latency requirements
VPS (Hetzner, DigitalOcean)
VPS (Hetzner, DigitalOcean)
- Full control, lowest cost at scale
- Manual setup via Docker
- See the Deployment Guide for instructions
- Best for: teams comfortable with Linux and Docker
Netlify / Vercel / Cloudflare Pages (static)
Netlify / Vercel / Cloudflare Pages (static)
- Free tiers, instant deploys, global CDN
- No CMS — use
primo buildand deploy the static output - Best for: marketing sites where content is edited locally and shipped via Git
Backups
Hosted Primo uses PocketBase’s built-in backup system. Configure scheduled backups fromhttps://your-server.com/_/ under Settings → Backups. See the Deployment Guide for details.
For Git-based backups, primo pull produces a full snapshot:
Next Steps
Push and Pull
Sync changes between local and deployed servers
Deployment Guide
Self-host Primo on a VPS or custom infrastructure