Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.42 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.42 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

Radar is a web application that gives you access to a Jet bus.

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

Watch Your Jet Bus on Your local 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