官方网站:http://openclaw.ai/ · 本站基于官网提供更快更易部署的中文教程与 GitHub 快装方案

Star FastOpenClaw
FastOpenClaw 快速一键安装OpenClaw官方教程百科

Install & Deploy (Cloudflare Friendly)

2026-03-03

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.

  • 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

  1. Homepage loads without 404
  2. /search/ works
  3. At least one docs page and one post page render correctly
  4. robots.txt and sitemap.xml are reachable
  1. /en/docs/quickstart/
  2. /en/faq/troubleshooting/
  3. /zh-cn/docs/quickstart/ (full beginner walkthrough)