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

docs: update variable in building apisix from source #11640

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 2 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
10 changes: 6 additions & 4 deletions docs/en/latest/building-apisix.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,26 @@ To build and package APISIX for a specific platform, see [apisix-build-tools](ht

## Building APISIX from source

First of all, we need to specify the version `APISIX_VERSION` to be installed:
First of all, we need to specify the branch to be built:

```shell
APISIX_VERSION='3.11.0'
APISIX_BRANCH='release/3.11.0'
Copy link
Member Author

@kayx23 kayx23 Oct 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a bit outdated

image image

```

Then, you can run the following command to clone the APISIX source code from Github:

```shell
git clone --depth 1 --branch ${APISIX_VERSION} https://github.com/apache/apisix.git apisix-${APISIX_VERSION}
git clone --depth 1 --branch ${APISIX_BRANCH} https://github.com/apache/apisix.git apisix-${APISIX_BRANCH}
```

Alternatively, you can also download the source package from the [Downloads](https://apisix.apache.org/downloads/) page. Note that source packages here are not distributed with test cases.

Before installation, install [OpenResty](https://openresty.org/en/installation.html).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise:

image


Next, navigate to the directory, install dependencies, and build APISIX.

```shell
cd apisix-${APISIX_VERSION}
cd apisix-${APISIX_BRANCH}
make deps
make install
```
Expand Down
Loading