Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Realtime Message Bus for the Web. Lua Implementation
Lua Shell

Merge pull request #39 from mloy/master

allow numeric fetch id
latest commit e8a655594d
@lipp authored

README.md

About

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

Installation

With luarocks:

$ sudo luarocks install lua-jet

Most recent github version:

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

Dependencies

In particular you need libev installed.

Ubuntu / Debian based Linux:

$ sudo apt-get install libev-dev

OSX with Homebrew:

$ brew install libev

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 version 1.11.1 needs to be installed:

$ sudo luarocks install busted 1.11.1-1

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

$ busted spec

For more details on installation and running tests under debian based Linux see the ".travis.yml" file.

Something went wrong with that request. Please try again.