Skip to content
Type something to search...
Veltro Theme Documentation

Installation Guide

Veltro requires Node.js 22.12.0 or later, as declared in package.json. The project uses npm and includes a package-lock.json.

Install Node.js

Install Node.js from nodejs.org, then verify it:

Terminal window
node -v

Install Dependencies

From the veltro/ project directory:

Terminal window
npm install

Start Development

Terminal window
npm run dev

This starts the TOML watcher and Astro development server together. Changes to src/config/config.toml are written to .astro/config.generated.json automatically.

Check, Test, And Build

Terminal window
npm run astro-check
npm test
npm run build

The production build regenerates the config, builds the static Astro site, removes draft pages from the sitemap, and writes the result to dist/.

Preview A Production Build

Terminal window
npm run preview

The preview script performs a fresh build before starting Astro Preview.

Other Verified Scripts

Terminal window
npm run format
npm run generate-favicons
npm run generate-multilingual-content
npm run remove-multilingual
npm run deploy:cf

deploy:cf runs wrangler pages deploy; configure Wrangler before using it.