This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push: new 4d0b721 doc: Update README.md about installing Dashboard (#985) 4d0b721 is described below commit 4d0b721b2a802bb3859e44491313c3a0a902b33a Author: 琚致远 <juzhiy...@apache.org> AuthorDate: Thu Dec 19 19:09:08 2019 +0800 doc: Update README.md about installing Dashboard (#985) --- README.md | 12 ++++++------ README_CN.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 95315c6..2905bdd 100644 --- a/README.md +++ b/README.md @@ -120,18 +120,18 @@ APISIX has built-in support for dashboards, as follows: git clone https://github.com/apache/incubator-apisix-dashboard.git ``` -- Install dependencies and compile +- Install dependencies and build ``` -yarn install -yarn run build: prod +yarn +yarn run build:prod ``` - Integration with APISIX -Copy the compiled files to the apisix / dashboard directory, -open `http://127.0.0.1:9080/apisix/dashboard/` with a browser and try it. +Copy the compiled files under `/dist` directory to the `apisix/dashboard` directory, +open `http://127.0.0.1:9080/apisix/dashboard/` in the browser. Do not need to fill the user name and password, log in directly. -Dashboard allow any remote IP by default, and you can modify `allow_admin` in `conf/config.yaml` by yourself, to list the list of IPs allowed to access. +The dashboard allows any remote IP by default, and you can modify `allow_admin` in `conf/config.yaml` by yourself, to list the list of IPs allowed to access. We provide an online dashboard [demo version](http://apisix.iresty.com), make it easier for you to understand APISIX. diff --git a/README_CN.md b/README_CN.md index 3d62286..5506e00 100644 --- a/README_CN.md +++ b/README_CN.md @@ -113,27 +113,27 @@ sudo apisix start ## 控制台 -APISIX 内置了对 dashboard 的支持,步骤如下: +APISIX 内置了对 Dashboard 的支持,使用步骤如下: -- 下载 [dashboard](https://github.com/apache/incubator-apisix-dashboard) 的源码: +- 下载 [Dashboard](https://github.com/apache/incubator-apisix-dashboard) 的源码: ``` git clone https://github.com/apache/incubator-apisix-dashboard.git ``` -- 安装依赖和编译 +- 安装依赖并构建 ``` -yarn install +yarn yarn run build:prod ``` - 与 APISIX 集成 -把编译后的文件,拷贝到 apisix/dashboard 目录下。 +把编译后的在 `/dist` 目录下的所有文件,拷贝到 `apisix/dashboard` 目录下。 使用浏览器打开 `http://127.0.0.1:9080/apisix/dashboard/` 即可使用, 不用填写用户名和密码,直接登录。 Dashboard 默认允许任何 IP 访问。你可以自行修改 `conf/config.yaml` 中的 `allow_admin` 字段,指定允许访问 dashboard 的 IP 列表。 -我们部署了一个在线的 [dashboard](http://apisix.iresty.com) ,方便您了解 APISIX。 +我们部署了一个在线的 [Dashboard](http://apisix.iresty.com) ,方便你了解 APISIX。 ## 性能测试