X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/QuickStart.html diff --git a/doc/QuickStart.html b/doc/QuickStart.html deleted file mode 100644 index c233a1b5..00000000 --- a/doc/QuickStart.html +++ /dev/null @@ -1,68 +0,0 @@ - - - -
- - - --$ wget http://redis.googlecode.com/files/redis-1.02.tar.gz -The unstable source code, with more features but not ready for production, can be downloaded using git:
-$ git clone git://github.com/antirez/redis.git -
-$ tar xvzf redis-1.02.tar.gz -$ cd redis-1.02 -$ make -In order to test if the Redis server is working well in your computer make sure to run
make test
and check that all the tests are passed.-$ ./redis-server -With the default configuration Redis will log to the standard output so you can check what happens. Later, you can change the default settings.
make
and it is called redis-cli
For instance to set a key and read back the value use the following:-$ ./redis-cli set mykey somevalue -OK -$ ./redis-cli get mykey -somevalue -What about adding elements to a list:
-$ ./redis-cli lpush mylist firstvalue -OK -$ ./redis-cli lpush mylist secondvalue -OK -$ ./redis-cli lpush mylist thirdvalue -OK -$ ./redis-cli lrange mylist 0 -1 -1. thirdvalue -2. secondvalue -3. firstvalue -$ ./redis-cli rpop mylist -firstvalue -$ ./redis-cli lrange mylist 0 -1 -1. thirdvalue -2. secondvalue -