5.2.1
Install
Copy the private Vega 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/vega.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.
The demo runs as it is, because its settings turn on sampleContent. That setting allows the demo’s [FILL IN: …] markers, and its placeholder addresses while SITE_URL is not your real address. With sampleContent on, the demo’s open house, listing, price history and sold dates move, so turn it off before you add real listings. Turn it off for your own site. The build then stops on each marker and placeholder address that is left, and lists them. See Settings.
Before you launch
- Set
SITE_URLto your public address. See Deploy. - Replace the demo’s homes, agents, neighborhoods and posts. Replace its photos with your own, or keep the free ones. See Content.
- Set your agency’s details and real form addresses. See Settings.
- Turn
sampleContentoff. - Fill in the legal pages. See Legal pages.
Other commands
pnpm check # type-check
pnpm build # build the site into dist/, with the site search index
pnpm preview # serve the build, to try site search
pnpm test:units # the theme's unit tests
pnpm test:skins # check each color set and pairing: values and files
pnpm test:adapter # build the selected source and check its content and pages
pnpm test:parity # build every content source and compare content and pages
pnpm test:no-emdash # check that a Markdown build needs no EmDash package
pnpm test:system # check the design system pages
Site search works on the built site, not in pnpm dev. Run pnpm build, then pnpm preview. The home search works in both.
Shared code
The shared code is in packages/. It is part of your repo, so you can change it as you need: the components and design tokens, the parts from the Pro package that Vega uses, the content sources, and the theme plumbing. The Pro package’s README lists its parts.
Next: Content.