Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lfex/gutenberg
- Owner: lfex
- Created: 2013-03-28T22:46:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2011-03-02T01:10:45.000Z (over 13 years ago)
- Last Synced: 2023-04-27T06:02:43.945Z (over 1 year ago)
- Language: Shell
- Homepage: http://dysinger.net
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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