mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 10:03:14 +08:00
前后端全面升级
This commit is contained in:
19
docs/makefile.md
Normal file
19
docs/makefile.md
Normal file
@@ -0,0 +1,19 @@
|
||||
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```
|
||||
|
Reference in New Issue
Block a user