feat(doc): update run part in deploy
diff --git a/docs/deploy.md b/docs/deploy.md
index 61a5c89..5ea25bc 100644
--- a/docs/deploy.md
+++ b/docs/deploy.md
@@ -43,18 +43,6 @@
$ go env -w GO111MODULE=on
```
-- According to your local deployment environment, check the environment variables in `./api/run.sh`, modify the environment variables if needed. For example, change the ETCD endpoints to your ETCD instances work with APISIX:
-
-```
-export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
-```
-
-If you have multiple instances, please use commas to separate:
-
-```
-export APIX_ETCD_ENDPOINTS="127.0.0.1:2379,127.0.0.1:3379"
-```
-
- For most users in China, we could use [Goproxy](https://goproxy.cn/) to speed up downloading modules.
```sh
@@ -89,8 +77,19 @@
## Run
+1. According to your local deployment environment, check the environment variables in `./api/run.sh`, modify the environment variables if needed. For example, change the ETCD endpoints to your ETCD instances work with APISIX:
+
+```sh
+$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
+
+# If you have multiple instances, please use commas to separate:
+$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379,127.0.0.1:3379"
+```
+
+2. Run manager-api
+
```sh
$ api/run.sh &
```
-Visit `http://127.0.0.1:8080` in your browser, `8080` is the default listen port of manager-api.
+3. Visit `http://127.0.0.1:8080` in your browser, `8080` is the default listen port of manager-api.
diff --git a/docs/deploy.zh-CN.md b/docs/deploy.zh-CN.md
index 184b55a..209fdaf 100644
--- a/docs/deploy.zh-CN.md
+++ b/docs/deploy.zh-CN.md
@@ -43,18 +43,6 @@
$ go env -w GO111MODULE=on
```
-- 根据您的本地部署环境,检查 `./api/run.sh` 中的环境变量,如果需要请修改环境变量。例如, 把 ETCD 地址改为你的与 APISIX 一起工作的 ETCD 实例:
-
-```sh
-$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
-```
-
-如果有多个实例,请使用英文逗号分隔,如:
-
-```sh
-$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379,127.0.0.1:3379"
-```
-
- 对于大多数中国用户,我们可以使用 [Goproxy](https://goproxy.cn/) 加快模块下载速度。
```sh
@@ -91,8 +79,19 @@
## 启动
+1. 根据您的本地部署环境,检查 `./api/run.sh` 中的环境变量,如果需要请修改环境变量。例如:把 ETCD 地址改为与你的 Apache APISIX 一起工作的 ETCD 实例:
+
+```sh
+$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
+
+# 如果有多个实例,请使用英文逗号分隔,如:
+$ export APIX_ETCD_ENDPOINTS="127.0.0.1:2379,127.0.0.1:3379"
+```
+
+2. 启动 manager-api
+
```sh
$ api/run.sh &
```
-在浏览器中访问 `http://127.0.0.1:8080`,`8080` 是 manager-api 的默认监听端口。
+3. 在浏览器中访问 `http://127.0.0.1:8080`,`8080` 是 manager-api 的默认监听端口。