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:
node -vInstall Node.js with Homebrew or the official installer:
brew install nodenode -vInstall Node.js with your preferred package manager or the official installer, then verify it:
node -vInstall Dependencies
From the veltro/ project directory:
npm installStart Development
npm run devThis 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
npm run astro-checknpm testnpm run buildThe 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
npm run previewThe preview script performs a fresh build before starting Astro Preview.
Other Verified Scripts
npm run formatnpm run generate-faviconsnpm run generate-multilingual-contentnpm run remove-multilingualnpm run deploy:cfdeploy:cf runs wrangler pages deploy; configure Wrangler before using it.