RADOS bindings for Lua
C++ Lua
Pull request Compare This branch is 4 commits ahead, 14 commits behind noahdesu:master.
Latest commit 65ee7d6 Mar 25, 2013 @nmtadam Merge pull request #2 from russplaysguitar/patch-1
README.md Fix Typo
Permalink
Failed to load latest commit information.
examples example: add dataset generator Mar 2, 2013
m4 inital commit: starting lua-rados project Feb 24, 2013
.gitignore
.travis.yml travis: build all branches except gh-pages Mar 3, 2013
Makefile.am core: compile as C++ Feb 25, 2013
README.md Fix typo in release key install line Mar 25, 2013
config.ld ldoc: add integer type param alias Feb 25, 2013
configure.ac core: compile as C++ Feb 25, 2013
lua_rados.cc
sample.ceph.conf Updating README.md Mar 24, 2013
test.lua

README.md

Lua-rados - RADOS bindings for Lua

Source for Lua bindings for RADOS, which is a reliable, autonomic, distributed object store comprised of self-healing, self-managing, intelligent storage nodes. RADOS is part of the Ceph project. http://ceph.com/

Build Status

Information

Getting Help

Dependencies

  • autoconf
  • automake
  • libtool
  • lua5.1
  • luarocks
  • ceph

Ceph Installation

$ wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo apt-key add -
  • Add Release Packages
$ echo deb http://ceph.com/debian-bobtail/ $(lsb\_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
  • Install packages
$ sudo apt-get update
$ sudo apt-get install ceph
$ sudo apt-get install librados-dev

Lua-rados Installation

  • Build Lua-rados
$ git clone git://github.com/noahdesu/lua-rados.git
$ cd lua-rados
$ autoreconf -I m4 -ivf
$ ./configure && make
  • Install Busted
$ sudo luarocks install busted

Setting up and Starting Ceph

  • Follow these instuctions

http://ceph.com/docs/master/start/quick-start/

Testing Lua-rados

  • After you set up and start ceph $ eval luarocks path` $ export LUA_CPATH="$PWD/.libs/?.so;$LUA_CPATH\" $ busted test.lua