Development server
Start the dev server with hot reload:
cd apps/web
bun devThis starts a local Next.js server at http://localhost:3000/. Changes to content files and code are reflected immediately.
Production build
To create an optimized production build:
cd apps/web
bun buildThis generates static output in apps/web/.next/. You can preview the production build locally:
cd apps/web
bun startContent directory
Your markdown files go in apps/web/content/. The file structure maps directly to URL paths:
content/
index.md → /
docs/
getting-started.md → /docs/getting-started
features/
wikilinks.md → /docs/features/wikilinks
What happens during build
- Next.js discovers all
.mdfiles incontent/ - Each file is processed through the nuartz markdown pipeline
- Frontmatter, HTML, table of contents, links, and tags are extracted
- Pages are rendered as static HTML with React hydration
For deployment options, see deployment and hosting.