Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md about installing Dashboard #985

Merged
merged 3 commits into from
Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
12 changes: 6 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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。

## 性能测试

Expand Down