]> git.saurik.com Git - redis.git/blame - README
Merge branch 'master' into networking-perf
[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
19for default.
20
21You can run a 32 bit Redis binary using:
22
23 % make 32bit
24
25After you build Redis is a good idea to test it, using:
26
27 % make test
28
29Running Redis
30-------------
31
32To run Redis with the default configuration just type:
33
34 % cd src
35 % ./redis-server
36
37If you want to provide your redis.conf, you have to run it using an additional
38parameter (the path of the configuration file):
39
40 % cd src
41 % ./redis-server /path/to/redis.conf
42
43Playing with Redis
44------------------
45
46You can use redis-cli to play with Redis. Start a redis-server instance,
47then in another terminal try the following:
48
49 % cd src
50 % ./redis-cli
51 redis> ping
52 PONG
53 redis> set foo bar
54 OK
55 redis> get foo
56 "bar"
57 redis> incr mycounter
58 (integer) 1
59 redis> incr mycounter
60 (integer) 2
61 redis>
62
63You can find the list of all the available commands here:
64
65 http://code.google.com/p/redis/wiki/CommandReference
66
67Enjoy!
68