Run a blog with EmDash · Exercise 01

Create your blog

Start a new EmDash blog on your computer and open its admin panel.

Create your blog

You’ll create a blog from EmDash’s blog template, or reopen the blog you made in Publish a website, and run it on your own computer. Local changes stay on your computer until you deploy.

What gets created

  • An Astro site with a blog design, a home page, post pages, and tags.
  • An admin panel at /_emdash/admin/, where you write and edit.
  • A Cloudflare setup in wrangler.jsonc: one Worker for the site, a D1 database for your posts, and an R2 bucket for your images. On your computer these are simulated. When you deploy, Cloudflare creates the real ones.

You’ll pick the name your blog’s resources use, and you’ll see the config that names them before anything is saved.

Keep your key safe

EmDash writes a secret key to .env. It encrypts secrets saved by plugins. Back it up with your site’s other backups, and never put it in git. If you lose it, those saved secrets can’t be read again.