Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.31 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.31 KB

About

lua-jet is a Jet daemon and peer implementation written in Lua. Build Status

Installation

$ git clone https://github.com/lipp/jet.git
$ cd jet
$ sudo luarocks make rockspecs/jet-scm-1.rockspec

Running the daemon

$ jetd.lua

Starting an example peer

$ cd lua-jet
$ lua example/some_service.lua

Radar

$ sudo luarocks install orbit
$ git clone https://github.com/lipp/radar
$ cd radar 
$ ./simple_webserver.lua

Visit Your Radar.

Doc

For general information, visit the Jet Homepage. Look at the API.md, the examples or the busted test spec files.

Tests

To run the tests, busted with finally support needs to be installed:

$ git clone https://github.com/lipp/busted.git
$ cd busted
$ git checkout add-finally
$ ./try

If all is in place, run the tests from within the lua-jet dir like this:

$ busted spec