Architecture overview
The orchestrator is a long-running stateful server and cannot run as a Netlify Function. Deploy it on a platform that supports persistent processes.
Phase 1: Public site only (recommended start)
Deployapps/site as a standalone Next.js site serving published content.
Netlify project setup
- Connect your repository to Netlify
- Configure build settings:
- Base directory:
apps/site - Build command:
cd ../.. && pnpm install --frozen-lockfile && pnpm --filter @ai-site-editor/site build - Publish directory:
apps/site/.next
- Base directory:
- Install the Next.js plugin: add
@netlify/plugin-nextjsvia the Netlify UI ornetlify.toml
netlify.toml (in repo root)
Environment variables (Phase 1)
In Phase 1, the site renders from published content only — no orchestrator needed.
Phase 2: Full editing stack
Deploy the Content Studio
Create a separate Netlify site forapps/editor:
- Base directory:
apps/editor - Build command:
cd ../.. && pnpm install --frozen-lockfile && pnpm --filter @ai-site-editor/editor build - Publish directory:
apps/editor/dist
Content Studio environment variables
Deploy the orchestrator (external host)
The orchestrator requires a long-running process. Deploy on Render, Fly.io, Railway, or any container platform. See the Vercel deployment guide for Render-specific instructions.Site environment variables (Phase 2)
Other platforms
Deployment guides for the following platforms are planned:- AWS Amplify — Next.js hosting + Lambda for orchestrator
- Google Cloud Run — Container-based deployment for all three services
- Docker Compose — Self-hosted deployment on any server