File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -680,7 +680,29 @@ each request.
680
680
681
681
[ Back to TOC] ( #table-of-contents )
682
682
683
- Installation
683
+ Installation - Build from source
684
+ ============
685
+
686
+ ``` sh
687
+ # Clone latest release , assuming v0.29
688
+ wget https://github.com/openresty/lua-resty-redis/archive/refs/tags/v0.29.tar.gz
689
+
690
+ # Extract
691
+ tar -xvzf v0.29.tar.gz
692
+
693
+ # go into directory
694
+ cd lua-resty-redis-0.29
695
+
696
+ export LUA_LIB_DIR=/usr/local/openresty/site/lualib
697
+
698
+ # Compile and Install
699
+ make install
700
+
701
+ # Now compiled path will be outputted
702
+ # /usr/local/lib/lua/resty = lua_package_path in nginx conf
703
+ ```
704
+
705
+ Installation Notes
684
706
============
685
707
686
708
If you are using the OpenResty bundle (http://openresty.org ), then
You can’t perform that action at this time.
0 commit comments