Home

Awesome

Lapis

A web framework for Lua/MoonScript supporting OpenResty or http.server

spec

Lapis is production ready, use it on your next huge project.

Learn more on the homepage: http://leafo.net/lapis/

Join Our Community

We just created a Discord for Lapis users and those interested in it to communicate. You can join us here: https://discord.gg/Y75ZXrD

Lapis Powered

Made a website in Lapis? Tell us

Supplemental Libraries

Running Tests

If you need to run tests outside of our CI. The test suites require Busted and MoonScript. There are three separate test suites:

Test suites that require databases need to have the initial database created. A lapis_test database is created on each. You can run each command respectively.

make test_db # postgres test db
make mysql_test_db

Using the Docker image

This repository contains a Dockerfile for running the entire test suite. You can run it with the following commands:

docker build -t lapis-test .
docker run lapis-test

docker build will pull in the files in the current directory, including any changes. To test modified code, build again before running the test suite. It should be a quick operation since dependency installation is cached.