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 install-dependencies.md doc #3645

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions doc/install-dependencies.md
Original file line number Diff line number Diff line change
@@ -150,6 +150,9 @@ nohup etcd &
# install OpenResty, etcd and some compilation tools
brew install openresty/brew/openresty etcd luarocks curl git
Copy link
Contributor

Choose a reason for hiding this comment

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

this can be removed
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To ensure that the installed version of LuaRocks is correct, I think it should be added. This is an error problem encountered when installing according to the document:

截屏2021-02-23 下午7 18 18

截屏2021-02-23 下午7 19 56

截屏2021-02-23 下午7 42 04

Copy link
Contributor

Choose a reason for hiding this comment

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

Since we will install luarocks from source, I think it can be removed.


# install LuaRocks
curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash -

# start etcd server
etcd &

3 changes: 3 additions & 0 deletions doc/zh-cn/install-dependencies.md
Original file line number Diff line number Diff line change
@@ -149,6 +149,9 @@ nohup etcd &
# 安装 OpenResty, etcd 和 编译工具
brew install openresty/brew/openresty etcd luarocks curl git

# 安装 LuaRocks
curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash -

# 开启 etcd server
etcd &