5.5.1
Install
Copy the private Dispatch repo into a repo of your own, install it and run it.
What you need
- Access to the repo. After you buy, accept the GitHub invite. Sales are not open yet.
- Node.js 22.18 or later.
- pnpm.
- Git.
Clone, do not fork
Clone the repo into a new repo of your own. Do not fork it. A fork of a private repo is deleted when your access ends.
git clone https://github.com/astronomic-dev/dispatch.git my-site
cd my-site
git remote remove origin
pnpm install
Then create an empty repo of your own, add it as origin and push:
git remote add origin <your repo URL>
git push -u origin main
Run it
pnpm dev
Open the address that Astro prints, usually http://localhost:4321.
Other commands
pnpm check # type-check
pnpm build # build the site into dist/, with the search index
pnpm preview # serve the build, to try search
pnpm test:units # the theme's unit tests
pnpm test:skins # check the accent colors and their contrast
pnpm test:parity # build every content source and compare content and pages
Search works on the built site, not in pnpm dev. Run pnpm build, then pnpm preview.
Next: Content.