Source

redis /

Filename Size Date modified Message
client-libraries
design-documents
doc
tests
utils
165 B
292 B
55 B
1.5 KB
71.3 KB
3.4 KB
1.4 KB
4.5 KB
8.6 KB
3.3 KB
12.9 KB
4.3 KB
2.8 KB
2.6 KB
2.1 KB
7.9 KB
2.2 KB
976 B
21.7 KB
5.4 KB
212 B
14.8 KB
2.0 KB
4.3 KB
5.0 KB
8.7 KB
4.2 KB
456 B
5.7 KB
430 B
21.4 KB
4.3 KB
18.1 KB
15.1 KB
374.1 KB
13.0 KB
2.3 KB
12.2 KB
2.6 KB
8.6 KB
470 B
535 B
18.6 KB
16.0 KB
2.5 KB
4.7 KB
1.9 KB
Where to find complete Redis documentation?
-------------------------------------------

This README is just a fast "quick start" document. You can find more detailed
documentation here:

1) http://code.google.com/p/redis
2) Check the 'doc' directory. doc/README.html is a good starting point :)

Building Redis
--------------

It is as simple as:

    % make

Redis is just a single binary, but if you want to install it you can use
the "make install" target that will copy the binary in /usr/local/bin
for default.

You can run a 32 bit Redis binary using:

    % make 32bit

After you build Redis is a good idea to test it, using:

    % make test

Running Redis
-------------

To run Redis with the default configuration just type:

    % ./redis-server
    
If you want to provide your redis.conf, you have to run it using an additional
parameter (the path of the configuration file):

    % ./redis-server /path/to/redis.conf

Playing with Redis
------------------

You can use redis-cli to play with Redis. Start a redis-server instance,
then in another terminal try the following:

    % ./redis-cli
    redis> ping
    PONG
    redis> set foo bar
    OK
    redis> get foo
    "bar"
    redis> incr mycounter
    (integer) 1
    redis> incr mycounter
    (integer) 2
    redis> 

You can find the list of all the available commands here:

    http://code.google.com/p/redis/wiki/CommandReference

Enjoy!