工具:
- IDE:IntelliJ IDEA 2018.3.5 (Ultimate Edition)+EmmyLua插件
- macOS 专用模块管理工具: Homebrew 1.3.6
- openresty/1.13.6.2
安装homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装openresty
brew install openresty/brew/openresty
如果已经通过homebrew/nginx安装openresty,需先执行以下命令
brew untap homebrew/nginx