Deployment
Production today targets Node via @avedon/adapter-node.
Build and run
From your app directory:
pnpm build
pnpm startThis runs avedon build then avedon start (preview is an alias of start). The adapter writes output under the directory configured in avedon.config.ts (default build).
Ensure production env vars are set (for example SESSION_SECRET if you use sessions).
What gets built
- Client assets
- Server bundles
- Static HTML for routes marked
ssg(plus ISR behavior whenrevalidateis set — see Rendering)
Hosting tips
- Run
avedon startbehind your process manager or platform (systemd, Docker, Fly, Railway, etc.) - Serve over HTTPS in production so session cookies get the
Secureflag - Put a reverse proxy in front if you need TLS termination or static CDN caching of assets
Other platforms
Bun and Cloudflare adapters are stubs today — not ready for production deploy guides. Prefer Node until those adapters ship.
Static marketing sites that are entirely ssg can still be built with avedon and served as static files from build client output where applicable (the public docs site itself is an SSG example). Mixed SSR apps need the Node server.