A Clojure client library for the Redis key value storage system.
To use redis-clojure, you'll need:
- The Clojure programming language
- The Clojure-Contrib library (for running the tests)
To build redis-clojure:
ant -Dclojure.jar=/path/to/clojure.jar
This will build redis-clojure.jar
.
To run tests:
ant -Dclojure.jar=/path/to/clojure.jar -Dclojure-contrib.jar=/path/to/clojure-contrib.jar test
Note you need to have redis-server
running first.
To use redis-clojure in your application, simply make sure either
redis-clojure.jar
or the contents of the src/
directory is on your
classpath.
This can be accomplished like so:
(add-classpath "file:///path/to/redis-clojure.jar")
Check the examples/
directory.
Note you need to have redis-server
running first.
- Work on performance
- Maybe implement pipelining