Skip to content

Commit

Permalink
docs: fix building apisix misled (#8189)
Browse files Browse the repository at this point in the history
* doc: fix building apisix misled

* docs: fix building apisix misled

* Update docs/en/latest/building-apisix.md

Co-authored-by: Sylvia <[email protected]>

Co-authored-by: Sylvia <[email protected]>
  • Loading branch information
mscb402 and SylviaBABY authored Oct 28, 2022
1 parent 48b8431 commit ff3c545
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
12 changes: 4 additions & 8 deletions docs/en/latest/building-apisix.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,15 @@ APISIX_VERSION='3.0.0'
mkdir apisix-${APISIX_VERSION}
```

You can now download the APISIX source code by running the command below:
You can now clone the APISIX source code from Github by running the command below:

```shell
wget https://downloads.apache.org/apisix/${APISIX_VERSION}/apache-apisix-${APISIX_VERSION}-src.tgz
git clone --depth 1 --branch ${APISIX_VERSION} https://github.com/apache/apisix.git apisix-${APISIX_VERSION}
```

You can also download the source package from the [Downloads page](https://apisix.apache.org/downloads/). You will also find source packages for APISIX Dashboard and APISIX Ingress Controller.
You can also download the source package from the [Downloads page](https://apisix.apache.org/downloads/). But the source package missing the test case. This may affect subsequent operations.

After you have downloaded the package, you can extract the files to the folder created previously:

```shell
tar zxvf apache-apisix-${APISIX_VERSION}-src.tgz -C apisix-${APISIX_VERSION}
```
And you will also find source packages for APISIX Dashboard and APISIX Ingress Controller from [Downloads page](https://apisix.apache.org/downloads/).

Now, navigate to the directory, create dependencies, and install APISIX as shown below:

Expand Down
14 changes: 5 additions & 9 deletions docs/zh/latest/building-apisix.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,17 @@ APISIX_VERSION='3.0.0'
mkdir apisix-${APISIX_VERSION}
```

现在,你可以运行以下命令来下载 APISIX 源码包
现在,你可以运行以下命令,从 Github 克隆 APISIX 源码

```shell
wget https://downloads.apache.org/apisix/${APISIX_VERSION}/apache-apisix-${APISIX_VERSION}-src.tgz
git clone --depth 1 --branch ${APISIX_VERSION} https://github.com/apache/apisix.git apisix-${APISIX_VERSION}
```

你可以从[下载页面](https://apisix.apache.org/downloads/)下载源码包。你也可以在该页面找到 APISIX Dashboard 和 APISIX Ingress Controller 的源码包
你可以从[下载页面](https://apisix.apache.org/downloads/)下载源码包。但是官网的源码包缺少测试用例,可能会对你后续操作产生困扰

下载源码包后,你可以将文件解压到之前创建的文件夹中:
另外,你也可以在该页面找到 APISIX Dashboard 和 APISIX Ingress Controller 的源码包。

```shell
tar zxvf apache-apisix-${APISIX_VERSION}-src.tgz -C apisix-${APISIX_VERSION}
```

然后切换到解压的目录,创建依赖项并安装 APISIX,如下所示:
然后切换到 APISIX 源码的目录,创建依赖项并安装 APISIX,命令如下所示:

```shell
cd apisix-${APISIX_VERSION}
Expand Down

0 comments on commit ff3c545

Please sign in to comment.