]> git.saurik.com Git - redis.git/blame - README
Don't reset the client when processCommand returns REDIS_ERR
[redis.git] / README
CommitLineData
d3207647 1Where to find complete Redis documentation?
2-------------------------------------------
3
4This README is just a fast "quick start" document. You can find more detailed
5documentation here:
6
71) http://code.google.com/p/redis
82) Check the 'doc' directory. doc/README.html is a good starting point :)
9
10Building Redis
11--------------
12
13It is as simple as:
14
15 % make
16
17Redis is just a single binary, but if you want to install it you can use
18the "make install" target that will copy the binary in /usr/local/bin
e1386503
PM
19for default. You can also use "make PREFIX=/some/other/directory install"
20if you wish to use a different destination.
d3207647 21
22You can run a 32 bit Redis binary using:
23
24 % make 32bit
25
26After you build Redis is a good idea to test it, using:
27
28 % make test
29
30Running Redis
31-------------
32
33To run Redis with the default configuration just type:
34
35 % cd src
36 % ./redis-server
37
38If you want to provide your redis.conf, you have to run it using an additional
39parameter (the path of the configuration file):
40
41 % cd src
42 % ./redis-server /path/to/redis.conf
43
44Playing with Redis
45------------------
46
47You can use redis-cli to play with Redis. Start a redis-server instance,
48then in another terminal try the following:
49
50 % cd src
51 % ./redis-cli
52 redis> ping
53 PONG
54 redis> set foo bar
55 OK
56 redis> get foo
57 "bar"
58 redis> incr mycounter
59 (integer) 1
60 redis> incr mycounter
61 (integer) 2
62 redis>
63
64You can find the list of all the available commands here:
65
66 http://code.google.com/p/redis/wiki/CommandReference
67
68Enjoy!
69