mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 23:54:23 +08:00
* add cms turbo app * add cms scripts to package.json * update README * update README * update files * fix formatting * fix populateAuthors * sync dependencies * update launch week field * update lint config * Coordinate the deps to be the same as the other apps. * Remove extra files. * Run prettier on the CMS files. * Add commands for cleaning and typechecking. * Fix weird version of @types/react in docs. * run pnpm install * fix pnpm-lock * fix cms lint --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
810 B
810 B
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