From 7291274cb130e5fa4709c16fa5ac085253ed4910 Mon Sep 17 00:00:00 2001 From: pycook Date: Tue, 5 Nov 2019 17:43:40 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 如果是非本机访问, 要修改ui/.env里VUE_APP_API_BASE_URL里的IP地址 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c1d1869..ab867a4 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ cp api/settings.py.example api/settings.py - 安装库 - 后端: ```pipenv run pipenv install``` - 前端: ```cd ui && yarn install && cd ..``` + - 如果是非本机访问, 要修改ui/.env里VUE_APP_API_BASE_URL里的IP地址 - 创建数据库表 ```pipenv run flask db-setup``` - 可以将docs/cmdb.sql导入到数据库里,登录用户和密码都是:admin