mirror of https://github.com/veops/cmdb.git
doc: add install.sh method in readme
This commit is contained in:
parent
89548336f3
commit
589fdc2bfe
|
@ -83,11 +83,11 @@ git clone https://github.com/veops/cmdb.git
|
||||||
```
|
```
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
> 方法二, 该方法适用于linux系统, 即
|
> 方法二, 该方法适用于linux系统
|
||||||
- 第一步: 先安装 docker 环境, 以及docker-compose
|
- 第一步: 先安装 docker 环境, 以及docker-compose
|
||||||
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`,对于类linux系统有用。
|
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`
|
||||||
```shell
|
```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
|
sh istall.sh install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -78,11 +78,11 @@ git clone https://github.com/veops/cmdb.git
|
||||||
```
|
```
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
> Method 2
|
> Method 2 Usefull for linux os.
|
||||||
- step 1: **Prepare: install docker and docker-compose**
|
- 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
|
```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
|
sh istall.sh install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue