lua-resty-mysql icon indicating copy to clipboard operation
lua-resty-mysql copied to clipboard

Is there a way to install resty packages with luarocks

Open kyriosli opened this issue 10 years ago • 2 comments

I found lua-nginx-websocket in Debian's repository that is maintained by Laurent Arnoud which refers to lua-resty-websocket. Just wondering if there is a way to install packages like lua-resty-mysql/redis/etc with aptitude or luarocks ?

kyriosli avatar Sep 26 '14 04:09 kyriosli

@kyriosli As the author of the lua-resty-mysql, I have no idea. I usually do not maintain pre-built packages for specific Linux distributions (I welcome 3rd-party contributors though) and this library does not provide luarocks support (yet). This library is officially distributed in the OpenResty bundle:

http://openresty.org/

agentzh avatar Sep 26 '14 18:09 agentzh

@agentzh Many thx. BTW I discovered another solution for composing http request, hope helpful for your project: http://www.cnblogs.com/kyrios/p/ngx_lua-httpclient-using-capture-and-proxy.html

kyriosli avatar Sep 28 '14 10:09 kyriosli