The website for OpenPlanetData, built with Astro and Starlight.
All commands are run from the root of the project:
| Command | Action |
|---|---|
npm install |
Install dependencies |
npm run dev |
Start local dev server at localhost:4321 |
npm run build |
Build production site to ./dist/ |
npm run preview |
Preview production build locally |
The site is deployed as static assets to Cloudflare Pages using Wrangler:
npm run build
npx wrangler deploy