# openclaw-deploy **Repository Path**: chendijby/openclaw-deploy ## Basic Information - **Project Name**: openclaw-deploy - **Description**: openclaw一键部署 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-07 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OpenClaw 一键部署工具 / OpenClaw One-Click Deploy [中文](#中文说明) | [English](#english-guide) --- ## 中文说明 ### 简介 OpenClaw 一键部署工具,帮助你快速在本地或服务器上部署 OpenClaw AI 网关,支持飞书和钉钉接入。 ### 前置要求 - **Node.js 22+**(脚本会自动检测并提示安装) - 或 **Docker**(Docker 安装模式) - 网络连接 ### 快速开始 #### Windows (PowerShell) ```powershell irm https://gitee.com/chendijby/openclaw-deploy/raw/main/install.ps1 | iex ``` 或下载后本地运行: ```powershell .\install.ps1 ``` #### Linux / macOS ```bash curl -fsSL https://gitee.com/chendijby/openclaw-deploy/raw/main/install.sh | bash ``` 或下载后本地运行: ```bash chmod +x install.sh bash install.sh ``` ### 支持的 AI 模型 | 供应商 | 说明 | |--------|------| | OpenAI | 支持自定义 Base URL(兼容中转站) | | Azure OpenAI | 需要 Endpoint 和 Deployment Name | | DeepSeek | 仅需 API Key | | 阿里云百炼(通义千问) | 仅需 API Key | | 文心一言 | 需要 API Key + Secret Key | | 自定义/其他 | 支持任意 OpenAI 兼容接口 | ### 飞书配置说明 1. 进入[飞书开放平台](https://open.feishu.cn/),创建企业自建应用 2. 获取 App ID 和 App Secret 3. 在机器人功能中开启消息接收 4. 脚本使用**长连接模式**,无需配置公网 IP 或 Webhook ### 钉钉配置说明 1. 进入[钉钉开放平台](https://open.dingtalk.com/),创建企业内部应用 2. 获取 Client ID(AppKey)和 Client Secret(AppSecret) 3. 脚本使用 **Stream 模式**,无需配置公网 IP 或 Webhook ### 部署后访问 - 控制面板:http://127.0.0.1:18789 - 检查服务状态:`openclaw gateway status` ### 常见问题 **Q: 安装后无法访问控制面板?** A: 检查端口是否被占用:`netstat -an | grep 18789`,或更换端口后重新部署。 **Q: 飞书机器人没有响应?** A: 确认已在飞书后台为机器人添加了相关权限(发消息、读消息)。 **Q: Docker 模式如何更新?** A: 运行 `docker pull openclaw/openclaw:latest` 后重启容器。 **Q: 如何卸载?** A: 直接安装模式:`npm uninstall -g openclaw`;Docker 模式:`docker rm -f openclaw`。 --- ## English Guide ### Introduction OpenClaw one-click deployment tool. Quickly deploy OpenClaw AI Gateway on your local machine or server, with support for Feishu (Lark) and DingTalk integration. ### Prerequisites - **Node.js 22+** (the script will auto-detect and prompt installation) - or **Docker** (for Docker installation mode) - Internet connection ### Quick Start #### Windows (PowerShell) ```powershell irm https://gitee.com/chendijby/openclaw-deploy/raw/main/install.ps1 | iex ``` Or run locally after downloading: ```powershell .\install.ps1 ``` #### Linux / macOS ```bash curl -fsSL https://gitee.com/chendijby/openclaw-deploy/raw/main/install.sh | bash ``` Or run locally after downloading: ```bash chmod +x install.sh bash install.sh ``` ### Supported AI Models | Provider | Notes | |----------|-------| | OpenAI | Supports custom Base URL (compatible with proxy services) | | Azure OpenAI | Requires Endpoint and Deployment Name | | DeepSeek | API Key only | | Alibaba Cloud Bailian (Qwen) | API Key only | | Wenxin Yiyan (ERNIE) | API Key + Secret Key | | Custom/Other | Any OpenAI-compatible endpoint | ### Feishu (Lark) Configuration 1. Go to [Feishu Open Platform](https://open.feishu.cn/), create an in-house app 2. Get your App ID and App Secret 3. Enable message receiving in the Bot features 4. The script uses **long connection mode** — no public IP or Webhook required ### DingTalk Configuration 1. Go to [DingTalk Open Platform](https://open.dingtalk.com/), create an enterprise internal app 2. Get your Client ID (AppKey) and Client Secret (AppSecret) 3. The script uses **Stream mode** — no public IP or Webhook required ### After Deployment - Dashboard: http://127.0.0.1:18789 - Check service status: `openclaw gateway status` ### FAQ **Q: Cannot access the dashboard after installation?** A: Check if the port is in use: `netstat -an | grep 18789`, or redeploy with a different port. **Q: Feishu bot not responding?** A: Ensure the bot has the required permissions (send/read messages) in the Feishu admin console. **Q: How to update in Docker mode?** A: Run `docker pull openclaw/openclaw:latest` and restart the container. **Q: How to uninstall?** A: Direct mode: `npm uninstall -g openclaw`; Docker mode: `docker rm -f openclaw`.