New Astro Site
Requires a deployed CMS (setup).
npm create @kenresoft-cms@latest my-site -- --astrocd my-sitecp .env.example .envpnpm installpnpm devSet the CMS API URL in .env:
PUBLIC_KENRESOFT_CMS_URL=https://your-cms-api.example.comThe starter is a standalone project. It is not part of the CMS repository and does not receive changes from pnpm run update. It includes the /cms same-origin proxy, browser and server clients, and account pages (register, sign-in, email verification, password reset, two-factor).
Allow the site’s origin in the CMS API’s CORS_ORIGINS: see Authentication and CORS.