Installation
Get a Beacon site running locally in under two minutes.
Beacon ships as a standard Astro project. If you can run npm install, you can run Beacon.
Prerequisites
- Node.js 18.17+ (or 20+). Check with
node --version. - A package manager —
npm,pnpm, orbunall work.
Install
Install dependencies from the project root:
npm install
Run the dev server
npm run dev
Open http://localhost:4321. The dev server hot-reloads on every change to a doc, component, or config file.
Build for production
npm run build
This outputs a fully static site to dist/. Preview the production build locally with:
npm run preview
Available scripts
| Script | Purpose |
|---|---|
npm run dev | Start the local dev server |
npm run build | Build the static site to dist/ |
npm run preview | Serve the production build locally |
That’s it — no environment variables, no API keys, no services to provision. Next, learn the Project Structure.