Files
warmbly/site/README.md
T
Matt 9d0679d0e7 chore(make): add admin/site dev shortcuts and grant-admin tooling
The admin and marketing site sit outside the compose stack, so `make app`
never started them. Add `make admin` and `make site` to launch each
workspace's dev server (Vite on 5174, Astro on 4321), and update the root
README and admin/README to point at them instead of the old "open
localhost:5174" line that implied `make app` was enough.

Also add `make grant-admin EMAIL=... [ROLE=super|support|ops|analyst]`
plus `make revoke-admin` so the first super-admin can be seeded without
hand-writing SQL. Role bitmasks mirror AdminRolePermissions in
internal/models/admin_permission.go.
2026-05-28 08:38:58 +02:00

830 B

site

Warmbly's public marketing site. Astro 5 + Tailwind v4, separate from the in-product dashboard at web/ and the admin app at admin/.

Run it locally

pnpm install
pnpm dev          # boots on http://localhost:4321
pnpm build        # static output into ./dist
pnpm preview      # serve the production build locally

From the repo root you can also use make site, which is a shortcut for cd site && pnpm dev. make app does not start this site — it lives outside the docker compose stack and ships on its own cadence.

Layout

site/
├── astro.config.mjs   # sitemap integration + Tailwind v4 Vite plugin
├── public/            # static assets served as-is
├── scripts/           # build-time helpers
└── src/               # pages, layouts, components, content