Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Yes, that register patch may be needed on some Linux systems; I'll add this to the documentation.
Redbean can't use the system Lua, so it comes bundled with its own Lua interpreter (Lua 5.4; there is also work being done to allow LuaJIT or Luau to be embedded instead).
The modules need to be put in the .lua directory within redbean archive; redbean searches within its archive, so you don't need to set LUA_PATH/LUA_CPATH. I have instructions on how to get examples working included in the examples (https://github.com/pkulchenko/fullmoon/tree/more-links#examp...) section.
In terms of the size, this includes MbedTLS and SQLite, so if you don't need those modules, you can compile redbean without them, which should reduce the size considerably.
Thanks for introducing Zerobrane, really looks fantastic. Also by extension introduced me to https://makeself.io/ for making Linux installations.
It's a little bit tricky to put Redbean in a Docker container, if you want to do so, check out this repo, it might help doing that: https://github.com/kissgyorgy/redbean-docker
I don't think there is an official style convention, but there are popular style guides; for example, this one [1] is using the same style for variable naming. I do use all lowercase for most of my other Lua projects, but I thought camelCase could work better for this one.
[1] https://github.com/Olivine-Labs/lua-style-guide#variables