| layout | doc |
|---|---|
| title | Get Started |
Follow these concise steps to get DevPaper running locally, test content, and deploy.
Source code and examples: https://github.com/xoxxel/devpaper
Clone the repository and install dependencies:
git clone https://github.com/xoxxel/devpaper.git
cd devpaper
npm install # or pnpm installRun the dev server with fast HMR for authoring and previewing content:
npm run dev # or pnpm run dev
# open http://localhost:5173If npm run dev fails, ensure Node 16+ is installed and dependencies completed.
npm test # or pnpm testThe test suite includes frontmatter validation and SEO safety checks.
npm run build # or pnpm run buildThe build produces pre-rendered HTML suitable for static hosting or inclusion in a Docker image.
docker build -t devpaper:latest .
docker run --rm -p 8080:80 devpaper:latest
# then open http://localhost:8080- Author a Markdown file in
docs/with required frontmatter (seedocs/examples.md). - Run
npm testto validate frontmatter and generated metadata. - Open an issue or PR on
xoxxel/devpaperfor contributions or questions.
Need me to run npm test or npm run build now?