Get Started
Spin up MikePress locally and publish your first AI-assertive post.
Welcome to MikePress. This quickstart walks you from cloning the repo to shipping your first AI-assertive post and its machine-readable outputs.
1. Install prerequisites
- pnpm v9+
- Node.js 20+
pnpm install
pnpm dev
Visit http://localhost:3000 to see the starter in action.
2. Scaffold content
Run the new script to generate a draft post with all required front matter.
pnpm new "Launch Notes"
The file lives in content/posts/launch-notes.mdx. Update the copy, add tags, and set draft: false when ready.
3. Ship AI-assertive outputs
- Verify
/api/manifest?slug=launch-notesreturns your metadata, clean text, word count, and AI instructions. - Verify the static mirror exists at
/manifest/launch-notes.jsonafter a production build. - Verify the discovery document exists at
/.well-known/content-manifest. - Run
pnpm buildto create the production bundle. - The postbuild step regenerates the Lunr search index and static OG images so your deployment is ready for crawlers and AI agents on first request.
4. Deploy
Deploy to any Next.js-compatible host. Set NEXT_PUBLIC_SITE_URL in your environment for canonical URLs (builds fail fast if it’s missing or set to the placeholder domain).