This repository contains the Facware website project.
facware-astro/: Main Astro project (source code, pages, components, build output).- Root files/folders (
assets/,thank-you.html, etc.): legacy/static assets and docs.
For local development, use the Astro app in facware-astro.
- Node.js 20 LTS recommended (Node.js 18.17+ minimum)
- npm (comes with Node.js)
Check versions:
node -v
npm -vFrom the repository root:
cd facware-astro
npm install
npm run devThen open the local URL shown in terminal (usually http://localhost:4321).
cd facware-astro
npm run buildBuild output is generated in:
facware-astro/dist/
cd facware-astro
npm run previewCreate a .env file inside facware-astro/ for form features:
PUBLIC_WEB3FORMS_KEY=your_web3forms_public_key
PUBLIC_TURNSTILE_SITE_KEY=your_cloudflare_turnstile_site_keyNotes:
- Without
PUBLIC_WEB3FORMS_KEY, contact form submissions will not work. - Without
PUBLIC_TURNSTILE_SITE_KEY, anti-spam Turnstile is not enabled.
Run these inside facware-astro/:
npm run dev: start local development servernpm run build: create static production buildnpm run preview: preview built site locally