Spaces:
Sleeping
Sleeping
| # OpenClaw Gateway for ubuntu | |
| # Supports Chinese channels: QQ, Enterprise WeChat, DingTalk, Feishu | |
| # Install system dependencies (ca-certificates for HTTPS SSL) | |
| sudo apt-get update | |
| sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
| curl \ | |
| git \ | |
| openssh-client \ | |
| ca-certificates \ | |
| && sudo apt-get clean \ | |
| && sudo rm -rf /var/lib/apt/lists/* \ | |
| && sudo update-ca-certificates | |
| # Configure git to use HTTPS instead of SSH for GitHub(系统内部使用,而不是提交到hf space) | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git config --global url."https://github.com/".insteadOf "ssh://git@github.com/" | |
| # Install OpenClaw globally | |
| npm install -g openclaw@latest | |
| ./openclaw-config.sh | |