Guides is the foundation for guides.starspace.group.
It is a section-based guide platform for the *Space Discord community where content is published with URLs shaped like:
- /user-interface
- /user-interface/theme-toggles
- Sections are modeled as CMS content types (for example: user-interface, cloudflare, automation).
- Guide pages are content items within each section.
- Guide bodies are written with the built-in rich text (Markdown-supporting) editor.
npm install
npm run dev- /admin/cms: create and manage sections
- /admin/cms/{section-slug}: create and publish guides in a section
- /{section-slug}: section listing page
- /{section-slug}/{guide-slug}: published guide page
This project is configured for Cloudflare Pages/Workers with D1, KV, and R2 bindings in wrangler.toml.
This is a Cloudflare Pages project. Do not run wrangler deploy, which is for Workers projects and will fail for this repository.
Use:
npm run deployOr directly:
npx wrangler pages deploy .svelte-kit/cloudflareUse:
npm run db:migrate:list
npm run db:migrate:local