Skip to content
Patchwork
Start free

Product · · 2 min read

Getting started with Astro Aurora

From git clone to a site that's yours: the steps, in the order that saves work.

On this page
  1. Get it running
  2. Decide what the site has
  3. Put in who you are
  4. Replace the words
  5. Connect the forms
  6. Check and deploy

Astro Aurora is a free theme for Astro 7, built on Velocity by Southwell Media. This post goes through setting it up in the order that saves the most work. The docs have the details of each step.

Get it running

You need Node 22.23.4 or later and pnpm 10.

git clone https://github.com/hansmartensdev/Astro-Aurora.git my-site
cd my-site
pnpm install
pnpm dev

The demo opens at http://localhost:4321. It’s Patchwork, a changelog and roadmap tool that doesn’t exist, so you can see every page with something on it.

Decide what the site has

Open src/config/aurora.config.mjs first. It decides which pages exist, and everything after this step depends on it:

  • language: English, Spanish, French or Dutch.
  • homepage: 'saas' for a product, 'portfolio' for a person or a studio.
  • pricing and projects: turn the pricing page and the portfolio off if you don’t need them.
  • docs and showcase: these docs and the components page are for the demo. Turn them off for your own site.

A page you turn off is gone from the menu, the footer and the build, so nothing links to it.

Put in who you are

src/config/site.config.ts holds the name, description, email and links. Set SITE_URL to your domain too: the canonical addresses, the sitemap and the share images use it.

Replace the words

Every word on the site is in src/i18n/translations/<language>.ts, grouped by page. Change them there, not in the components. The demo’s figures, prices, quotes and team are made up, so replace them or leave them out.

Connect the forms

Without a way to deliver, the contact form and the newsletter signup throw submissions away. Set CONTACT_FORM_ENDPOINT and NEWSLETTER_ENDPOINT, or connect a provider such as Resend. Forms explains both.

Check and deploy

pnpm validate runs lint, the type check, the unit tests and the build, and then the agent-ready check, which lists broken links, missing words and placeholders. Vercel, Netlify and Cloudflare are detected when you deploy; anything else gets a Node server.

Back to blog
Share:

Related posts

Start today

Your next release, read by everyone.

Free for 14 days. No credit card needed.