Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branches 'credis' and 'master'

  • Loading branch information...
commit af3523f1515213f047a78f2d22ba8485904929b7 2 parents 601fba1 + c488a70
@videlalvaro authored
Showing with 20 additions and 3 deletions.
  1. +20 −3 README.md
View
23 README.md
@@ -6,17 +6,27 @@ Installing
You need :
- - the [erldis binaries](http://github.com/cstar/erldis/tree/binaries) branch available in your Riak installation.
+ - [credis](http://code.google.com/p/credis/). compile (`make`)
+
+ - [erlang_credis](http://github.com/videlalvaro/erlang_credis). compile (`make`)
+
+ You have to specify the path to your credis installation.
- [Redis](http://code.google.com/p/redis/) (Any version will do).
- [Riak](http://riak.basho.com/)
- - compile (`erlc riak_redis_backend.erl`) and copy the beam file in your riak installation.
+ - compile (`erlc riak_redis_backend.erl`)
Configure riak :
- `{storage_backend, riak_dets_backend}` in the `etc/app.config`
+In `etc/app.config` change the option storage_backend to:
+
+ `{storage_backend, riak_redis_backend}`
+
+And add the paths to the driver and the backedn so riak can find them:
+
+ '{add_paths, ["/path/to/riak_redis_backend", "/path/to/erlang_credis/ebin"]}'
For the time being, Redis must run locally. I will certainly add the line to configure the redis host and port.
@@ -39,3 +49,10 @@ Eric Cestari
[http://www.cestari.info/](http://www.cestari.info/)
ecestari+riak-backend@mac.com
+
+
+Port to CREDIS Driver
+---------------------
+Alvaro Videla
+
+[http://obvioushints.blogspot.com/](http://obvioushints.blogspot.com/)
Please sign in to comment.
Something went wrong with that request. Please try again.