Run locally
You'll need Node.js 22.19 or newer and a GitHub account that can register a GitHub App. No database server is needed.
1. Create a project
npm create pagescms@latest -- my-cms
cd my-cmsPick a deployment target when prompted: Node.js, Cloudflare Workers, or the experimental Vercel and Netlify adapters. The creator offers to install dependencies, register a GitHub App and set up the local database. Any step you skip is covered below.
2. Register a GitHub App
npm run setup:github-appChoose local development, use http://localhost:3000 as the app URL, and give it a public webhook URL, such as a smee.io channel. See GitHub App.
3. Start
To access the instance-wide Admin page, set ADMIN_EMAILS in .env.local to your verified sign-in email before starting the app. Separate multiple addresses with commas. If it is unset, no one is an instance administrator; the first user is not promoted automatically. See Environment variables.
npm run migrate -- --local
npm run devOpen http://localhost:3000 and sign in with GitHub.
If you use smee.io, forward webhooks in a second terminal:
npx smee-client --url <your-smee-url> --target http://localhost:3000/api/webhook/githubNext
Deploy with Node.js, Cloudflare Workers, Vercel or Netlify.