Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lfex/gutenberg

Riak Map/Reduce Examples Written in Erlang LFE
https://github.com/lfex/gutenberg

Last synced: 1 day ago
JSON representation

Riak Map/Reduce Examples Written in Erlang LFE

Awesome Lists containing this project

README

        

#+TITLE:Gutenberg: Riak Map/Reduce Examples in Lisp Flavored Erlang
#+AUTHOR:Tim Dysinger
#+EMAIL:[email protected]

* Dependencies
- Rebar
* Build
- rebar get-deps
- rebar compile
* Install
- Configure Riak
- Update riak_kv settings with the path to /path/to/gutenberg/ebin, eg:
{riak_kv, {add_paths, ["/Users/tim/Projects/gutenberg/ebin"]}}
* Run
- Boot Riak
- cd /path/to/riak/rel/riak && ./bin/riak console
- Add books to Riak
- ./bin/setup.sh
- Run the curl/json map/reduce jobs
- ./bin/count.sh
- ./bin/set.sh
- Run the same jobs from the erlang/protobufs client
- ./bin/test.escript count
- ./bin/test.escript set