Re: Best practice for run apisix in production environment

2019-11-26 Thread Ming Wen
The reason for the apisix startup script use `lua` as the interpreter is we don't know the path of LuaJIT in user's environment. Sure you can change the interpreter to LuaJIT in your own production environment. Thanks, Ming Wen, Apache APISIX Twitter: _WenMing liyong 于2019年11月27日周三 下午12:05写道:

Re: Best practice for run apisix in production environment

2019-11-26 Thread Ming Wen
You can try `make deps`, which will install deps in apisix's directory. Thanks, Ming Wen, Apache APISIX Twitter: _WenMing liyong 于2019年11月21日周四 上午10:43写道: > The Makefile has already give a recommended way for install dependencies by > using luarock 3 with the --lua-dir option specified to Open

Re: Best practice for run apisix in production environment

2019-11-26 Thread liyong
Currently luarocks 3( latest version 3.2.1) and build with OpenResty luajit, the apisix startup script currently use `#!/usr/bin/env lua` as its interpreter, it also support luajit bundled with OpenResty, so I thought we can only depend OpenResty in production environment, does anyone else has some

Best practice for run apisix in production environment

2019-11-20 Thread liyong
The Makefile has already give a recommended way for install dependencies by using luarock 3 with the --lua-dir option specified to OpenResty's luajit, and the dependencies is installed at current directory(project repo root). But how we do this for production environment? The `install` target in `M