Skip to content
v0 “Istanbul” · THIS IS WORK IN PROGRESS.

Deploy on Spacefast

For AI coding agents: start with /start.md (build playbook) and /rules.md (compiler rules), see /llms.txt for the complete documentation index, or read this page as Markdown at /md/docs/operations/deploy-spacefast.md.

Deploy a SpacePress app to Spacefast with zero server configuration, automatic PHP compilation, and instant preview environments.

Spacefast is built to run SpacePress applications natively on WordPress 7.1+ and PHP 8.2+ without managing servers, nginx rules, or manual plugin uploads.

Prerequisites

  • A SpacePress project that passes typedpress check cleanly
  • A Spacefast account and site URL

1. Verify your project locally

Run a check and test build before pushing:

npx typedpress check
npx typedpress build

Commit your migration ledger (tp/_generated/migrations/) and plugin lockfile (tp/_generated/wp-plugins.lock.json) so every deployment upgrades your database safely and deterministically.

2. Sign in and preview the deployment plan

Authenticate once with your Spacefast site using WordPress Application Passwords, then inspect what the deployment will change:

npx typedpress login https://your-site.spacefast.com
npx typedpress push --dry-run

The dry run uploads your compiled runtime and app trees and prints every migration, page, and index change before making the build live.

3. Push to production

npx typedpress push

typedpress push atomically activates the new build, applies pending SQL migrations, seeds synced Markdown content on an empty site, and purges page caches automatically.

4. Sync Markdown content & verify

If your schema defines synced collections (sync: "content/**/*.md"), keep Git and your live Spacefast site in two-way sync:

npx typedpress sync --site https://your-site.spacefast.com
npx typedpress doctor --site https://your-site.spacefast.com --links

For CI pipelines, supply TP_APP_PASSWORD="user:application-password" as a secret environment variable instead of running typedpress login interactively.