Install & Deploy (Cloudflare Friendly)
Official OpenClaw site: http://openclaw.ai/
FastOpenClaw GitHub: https://github.com/upgiorgio/FastOpenClaw
This guide is the English installation entrypoint. Goal: get your docs site online quickly, then harden it.
1) Recommended stack
- Hugo (static site generator)
- Pagefind (on-site search)
- Cloudflare Pages (deploy + CDN)
- Optional Decap CMS (editor workflow)
2) Local bootstrap
npm install
npm run dev
Open local preview at http://localhost:1313.
3) Production build
npm run build:search
Expected output:
- Static files in
public/ - Search index in
public/pagefind/
4) Cloudflare Pages settings
Use these exact values:
- Build command:
npm run build:search - Output directory:
public - Environment variable:
HUGO_VERSION=0.157.0
5) Post-deploy checks
- Homepage loads without 404
/search/works- At least one docs page and one post page render correctly
robots.txtandsitemap.xmlare reachable
6) Recommended next pages
- /en/docs/quickstart/
- /en/faq/troubleshooting/
- /zh-cn/docs/quickstart/ (full beginner walkthrough)