Do you HATE HTML? Do you also HATE JS?
Do YOU love a small, fast, ergonomic, and simple language developed in Brazil in 1993?
Then this is the template for you! This template lets you write websites written in Lua!
Add .html.lua
files to site/. These will be compiled/served as HTML files. You can also add .css
, .html
, .lua
and .js
files to site/. and they will just be copied over to the output directory.
Run luarocks init
and luarocks make
to install the development files. You can then use ./luarocks-client
to install dependencies that will be able to be used on the browser, and ./luarocks-server
(or just ./luarocks
) to install dependencies that would be used on the server.
To run the development server run ./lua scripts/serve.lua
in the root directory. This will start a server on port 8123. You can change the port by editing config.lua.