Skip to content
MementropyKnowledge
DocsKnowledge base

Deploy to Cloudflare (static first)

Publish the static Mementropy site on Cloudflare Pages without reintroducing Worker or SSR setup.

Recommended path

Keep the first deployment boring.

For the public site, static hosting gets you Starlight routing, search, and Cloudflare delivery without turning the deployment into a server project. The standalone Admin application uses its own static Pages project under apps/admin/.

What you keep

Starlight routing, Pagefind search, simple deploys, and less moving infrastructure.

What you avoid

Worker bindings, server adapters, and the extra complexity of SSR before the content model is settled.
Terminal window
npm run build
  1. Open Workers & Pages in Cloudflare.
  2. Create a new Pages project from the GitHub repository.
  3. Set the production branch to master.
  4. Set the build command to npm run build.
  5. Set the build output directory to dist.
  6. Save and deploy.
  1. Open the Pages project.
  2. Open Workers & Pages in Cloudflare.
  3. Go to Custom domains.
  4. Add mementropy.com.
  5. Verify HTTPS once the certificate finishes provisioning.
wrangler.jsonc
{
// Cloudflare Pages config. Use `wrangler pages deploy`, not `wrangler deploy`.
"name": "mementropy",
"pages_build_output_dir": "./dist",
"compatibility_date": "2026-04-12"
}