mirror of https://github.com/veops/cmdb.git
20 lines
420 B
Python
20 lines
420 B
Python
Install by Makefile
|
|
----
|
|
- 启动mysql服务, redis服务
|
|
|
|
- 创建数据库cmdb
|
|
- 拉取代码
|
|
```bash
|
|
git clone https://github.com/veops/cmdb.git
|
|
cd cmdb
|
|
cp cmdb-api/settings.example.py cmdb-api/settings.py
|
|
```
|
|
**设置cmdb-api/settings.py里的database**
|
|
|
|
- 顺序在cmdb目录下执行
|
|
- 环境: ```make env```
|
|
- 启动API: ```make api```
|
|
- 启动UI: ```make ui```
|
|
- 启动worker: ```make worker```
|
|
|