mirror of
https://github.com/supabase/supabase.git
synced 2026-05-27 14:58:19 +08:00
* show cms blog posts in www * remove contentlayer from www * outputFileTracingExcludes * update remotePatterns * fetch cms posts server-side with revalidation * add cms env vars to turbo.json * add www env vars to turbo.json * include cms posts in www sitemap * add migration to remove image from cms post * update cms meta image mapping in www
Payload CMS
Local Development
- run
cd apps/cms && supabase startto start the local supabase project - run
cp .env.example .envto copy the example environment variables and update the variables. You'll need to add theS3_variables to your.envto use Supabase Storage pnpm install && pnpm generate:importmapto install dependencies and start the dev server- run
pnpm devin the apps/cms folder orpnpm dev:cmsfrom the root - open
http://localhost:3030to open the app in your browser
Follow the on-screen instructions to login and create the first admin user.
Collections
Collections are what data looks like in the Payload cms schema. The following are the collections currently configured in the app.
- Authors
- Categories
- Events
- Media
- Posts
- Tags
- Users