Simple manga e-commerce I made for a college project. Writen in Lua, using lapis, htmx, and picocss.
Tested on Debian 12 Bookworm and Arch Linux, but it should work fine on other distros.
First you need to install openresty, LuaJIT and luarocks. Follow the installation instructions from openresty's installation page or install it from your package manager if it's available.
You need to install the following dependencies from luarocks:
luarocks install lapis lua-cjson bcrpyt tableshape bit lpeg --local --lua-version=5.1For the database you have two options, either run PostgreSQL locally and create the user
and database specified in config.lua, or just use docker with the provided docker-compose.yml
Lastly, you have to define a secret in the data/secret.lua file. It just has to return
a string that will be used as a secret token, like the following:
-- data/secret.lua
return "myfunnysecrethehehaha"Run one of the following commands (don't forget to load your luarocks environment):
lapis server development # to run in dev mode
lapis server production # to run in production modeThe website runs on port 8080 by default.


