doc: add install.sh method in readme

This commit is contained in:
fxiang21 2023-11-23 17:31:42 +08:00
parent 89548336f3
commit 589fdc2bfe
2 changed files with 6 additions and 6 deletions

View File

@ -83,11 +83,11 @@ git clone https://github.com/veops/cmdb.git
```
docker-compose up -d
```
> 方法二, 该方法适用于linux系统, 即
> 方法二, 该方法适用于linux系统
- 第一步: 先安装 docker 环境, 以及docker-compose
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`对于类linux系统有用。
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`
```shell
curl -ssL https://raw.githubusercontent.com/veops/cmdb/dev_install/install.sh -o install.sh
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh
sh istall.sh install
```

View File

@ -78,11 +78,11 @@ git clone https://github.com/veops/cmdb.git
```
docker-compose up -d
```
> Method 2
> Method 2 Usefull for linux os.
- step 1: **Prepare: install docker and docker-compose**
- step 2: directly use the install.sh file in the project's root directory to `install`, `start`, `pause`, `status`, `delete`, and `uninstall` the application. only usefull for linux os.
- step 2: directly use the install.sh file in the project's root directory to `install`, `start`, `pause`, `status`, `delete`, and `uninstall` the application.
```shell
curl -ssL https://raw.githubusercontent.com/veops/cmdb/master/install.sh -o install.sh
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh
sh istall.sh install
```