Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 670 Bytes

README.org

File metadata and controls

24 lines (23 loc) · 670 Bytes

Gutenberg: Riak Map/Reduce Examples in Lisp Flavored Erlang

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