Tags
#lua #postgres #macos
Example on how to use Lua with luasql-postgres to query a public postgres database. This is more or less a followup to https://gist.github.com/zirkuswurstikus/3689d846cdd0d313a4e5448297127093
#lua #postgres #macos
Example on how to use Lua with luasql-postgres to query a public postgres database. This is more or less a followup to https://gist.github.com/zirkuswurstikus/3689d846cdd0d313a4e5448297127093
| # Build & install Lua on macOS | |
| # We will compile Lua 5.1 because it is compatible with openresty/lapis. | |
| # Replace the variables from line 30 ff to install a diffrent version. | |
| # See: https://www.lua.org/manual/5.1/ | |
| # NOTE: | |
| # We create a dedicated directory for the Lua stuff to putt all the stuff in. |