Source

redis /

Filename Size Date modified Message
client-libraries
design-documents
doc
tests
utils
149 B
7.7 KB
292 B
55 B
1.5 KB
71.3 KB
3.7 KB
1.4 KB
118 B
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
22.3 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
376.5 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!

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.