This guide deploys the repository’s CMS example with an ordinary organization Wrangler connection.
ermahgerd carries the released EmDash Cloudflare blog scaffold under
examples/emdash-blog. It is not a platform-specific rewrite. Its normal Astro
build and Wrangler deployment exercise static assets, D1, R2, session KV,
Images, Worker secrets, scheduled events, and outbound networking together.
Deploy it
Start from a provisioned appliance, configure the deployment connection, and use the scaffold’s normal deployment command:
cd examples/emdash-blog
npm ci
npm run deployWrangler discovers and provisions its named D1 database, R2 bucket, and session
KV namespace. Install the encryption key through wrangler secret put before
using the administrative surface.
Open the CMS setup surface at:
https://emdash-blog.<namespace>.workers.ermahgerd.localhost:8443/_emdash/admin
Complete the setup wizard to seed the blog and enroll a real passkey on your device. The CMS owns its schema and migrations; ermahgerd supplies the D1-compatible database boundary. The compatibility check deliberately does not enroll a synthetic credential that would leave the example administrator inaccessible afterward.
Maintain it
After setup, use the same project commands expected by the scaffold:
cd examples/emdash-blog
npm run deployFor the local demo, point Wrangler at the organization’s public deployment API:
export CLOUDFLARE_API_BASE_URL=https://api.ermahgerd.localhost:8443/client/v4
export CLOUDFLARE_ACCOUNT_ID=11111111-1111-4111-8111-111111111111
export CLOUDFLARE_API_TOKEN=local-development-token
npm run deployUse normal commands to rotate the write-only encryption secret:
printf '%s' "$EMDASH_ENCRYPTION_KEY" | npx wrangler secret put EMDASH_ENCRYPTION_KEYThe generated Worker upload is approximately 18 MiB. The appliance’s explicit 128 MiB deployment-request bound leaves room for this and similarly substantial framework bundles while still limiting control-plane buffering.
EmDash resources remain organization-owned and appear in the same console, quota, telemetry, and lifecycle surfaces as manually created resources.