Website for COMUA — Usinage, Soudure, Tours de potier, Ingénierie informatique.
- Astro 6 — static site generator
- Tailwind CSS 4 — utility-first CSS
- Snipcart — e-commerce (cart + checkout)
- Hosted on VPS OVH
| Command | Action |
|---|---|
npm install |
Install dependencies |
npm run dev |
Start dev server at localhost:4321 |
npm run build |
Build production site to ./dist/ |
npm run preview |
Preview production build locally |
Products and activity descriptions are managed as Markdown files in src/content/:
src/content/activities/— Activity page content (usinage, soudure, poterie, ingénierie)src/content/products/— Product catalog (potter's wheels and accessories)
Build with npm run build, then copy dist/ to your web server. The site is fully static — no Node required in production.
- Snipcart API key is configured in
src/layouts/BaseLayout.astro - Product catalog managed in
src/content/products/(Markdown) - Contact form requires a backend endpoint (not included — configure on your server)