Skip to content

Deploy

Pressline is one SvelteKit deployable per platform; PRESSLINE_ADAPTER picks the build.

Cloudflare Workers Vercel
Button Deploy to Cloudflare — notes in deploy/cloudflare/ Button and notes in deploy/vercel/
Ledger D1, bound as DB Turso (libSQL) from the Marketplace prompt
Migrations run at the first request per isolate, guarded against racing cold starts same
Nightly Reconciliation Cron Trigger → the Worker’s scheduled export Vercel Cron → GET /api/cron/reconcile with CRON_SECRET

Anywhere else: PRESSLINE_ADAPTER=node pnpm --filter pressline build, run build/index.js with DATABASE_PATH pointing at a SQLite file, and schedule POST /api/operator/reconcile with the operator token.

The committed config ships with an empty Catalog and one placeholder Engine (sample at localhost:5174) that you replace; without secrets the instance still boots, and pressline doctor tells you what is missing. Continue with Configure.

The sample Engine deploys the same way from apps/sample-engine (R2 or Vercel Blob for its files).