X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/c9a111acf47cb5bb2138d1f699253f87d68e53e8..e59229a2d540b00566f44c8f29764de3ae89b5be:/client-libraries/clojure/README.markdown?ds=inline diff --git a/client-libraries/clojure/README.markdown b/client-libraries/clojure/README.markdown new file mode 100644 index 00000000..5b428c9a --- /dev/null +++ b/client-libraries/clojure/README.markdown @@ -0,0 +1,49 @@ +# redis-clojure + +A Clojure client library for the +[Redis](http://code.google.com/p/redis) key value storage system. + +## Dependencies + +To use redis-clojure, you'll need: + +* The [Clojure](http://clojure.org) programming language +* The [Clojure-Contrib](http://code.google.com/p/clojure-contrib) library (for running the tests) + +## Building + +To build redis-clojure: + + ant -Dclojure.jar=/path/to/clojure.jar + +This will build `redis-clojure.jar`. + +## Running tests + +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. + +## Using + +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") + +## Examples + +Check the `examples/` directory. + +*Note* you need to have `redis-server` running first. + +## Todo + +* Work on performance +* Maybe implement pipelining +