- Notifications
You must be signed in to change notification settings - Fork246
A web framework for Lua and OpenResty written in MoonScript
License
leafo/lapis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A web framework for Lua/MoonScript supportingOpenResty orhttp.server
Lapis is production ready, use it on your next huge project.
Learn more on the homepage:http://leafo.net/lapis/
We just created a Discord for Lapis users and those interested in it to communicate. You can join us here:https://discord.gg/Y75ZXrD
- https://luarocks.org -source
- https://itch.io
- https://streak.club -source
- https://sightreading.training -source
- Ludum Dare game browser -source
- http://lapchan.moe/ -source
Made a website in Lapis?Tell us
- lapis-eswidget - A widget base class designed for organizing front-end code bundling
- lapis-annotate - Autogenerate comments on models with their database schema
- lapis-console - Interactive MoonScript console for Lapis that runs inside of your browser
- lapis-exceptions - Exception tracking and reporting
- lapis-bayes - General purpose Bayes classification for Spam, Fraud, etc.
If you need to run tests outside of our CI. The test suites requireBusted andMoonScript. There are three separate test suites:
busted
-- test Lua implementationsbusted spec_postgres
-- integration tests with PostgreSQL. Requires a running PostgreSQL serverbusted spec_mysql
-- integration tests with MySQL. Requires a running MySQL serverbusted spec_openresty/
-- integration tests with OpenResty as a server. Requires installation of OpenResty & Databasesbusted spec_cqueues/
-- integration tests withlua-http and cqueues as a server.
Test suites that require databases need to have the initial database created. Alapis_test
database is created on each.You can run each command respectively.
make test_db# postgres test dbmake mysql_test_db
- PostgreSQL: Ensure the
postgres
user can be logged in with no password. - MySQL: Ensure the
root
user can be logged in with no password.
This repository contains aDockerfile for runningthe 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 anychanges. To test modified code, build again before running the test suite. Itshould be a quick operation since dependency installation is cached.
About
A web framework for Lua and OpenResty written in MoonScript