]> git.saurik.com Git - redis.git/blame - client-libraries/clojure/README.markdown
initial multi-bulk query protocol, this will allow MSET and other interesting features.
[redis.git] / client-libraries / clojure / README.markdown
CommitLineData
e59229a2 1# redis-clojure
2
3A Clojure client library for the
4[Redis](http://code.google.com/p/redis) key value storage system.
5
6## Dependencies
7
8To use redis-clojure, you'll need:
9
10* The [Clojure](http://clojure.org) programming language
11* The [Clojure-Contrib](http://code.google.com/p/clojure-contrib) library (for running the tests)
12
13## Building
14
15To build redis-clojure:
16
17 ant -Dclojure.jar=/path/to/clojure.jar
18
19This will build `redis-clojure.jar`.
20
21## Running tests
22
23To run tests:
24
25 ant -Dclojure.jar=/path/to/clojure.jar -Dclojure-contrib.jar=/path/to/clojure-contrib.jar test
26
27*Note* you need to have `redis-server` running first.
28
29## Using
30
31To use redis-clojure in your application, simply make sure either
32`redis-clojure.jar` or the contents of the `src/` directory is on your
33classpath.
34
35This can be accomplished like so:
36
37 (add-classpath "file:///path/to/redis-clojure.jar")
38
39## Examples
40
41Check the `examples/` directory.
42
43*Note* you need to have `redis-server` running first.
44
45## Todo
46
47* Work on performance
48* Maybe implement pipelining
49