add
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
### Moltbot (原 ClawdBot) linux一键安装与管理脚本
|
## Moltbot (原 ClawdBot) 一键安装与管理脚本
|
||||||
|
|
||||||
|
### linux 脚本
|
||||||
```
|
```
|
||||||
bash <(curl -sSL https://raw.githubusercontent.com/sky22333/shell/main/moltbot/install.sh)
|
bash <(curl -sSL https://raw.githubusercontent.com/sky22333/shell/main/moltbot/install.sh)
|
||||||
```
|
```
|
||||||
@@ -14,17 +16,17 @@ http://127.0.0.1:18789
|
|||||||
### 构建
|
### 构建
|
||||||
如果你不放心预编译的二进制文件,可以自己构建。
|
如果你不放心预编译的二进制文件,可以自己构建。
|
||||||
|
|
||||||
windows 安装go环境:https://golang.org/doc/install
|
1:windows 安装go环境:https://golang.org/doc/install
|
||||||
|
|
||||||
进入项目目录
|
2:进入项目目录
|
||||||
```
|
```
|
||||||
cd moltbot/installer
|
cd moltbot/installer
|
||||||
```
|
```
|
||||||
安装依赖
|
3:安装依赖
|
||||||
```
|
```
|
||||||
go mod tidy
|
go mod tidy
|
||||||
```
|
```
|
||||||
编译
|
4:编译
|
||||||
```
|
```
|
||||||
go build -o installer.exe .
|
go build -o installer.exe .
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user