Skip to content

Commit

Permalink
update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
deep011 committed Jul 4, 2016
1 parent a0bc18f commit 7752b0c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@

## Build

redis-cluster-tool need hiredis-vip(https://github.com/vipshop/hiredis-vip), so you must install hiredis-vip first.
redis-cluster-tool need hiredis-vip(https://github.com/vipshop/hiredis-vip), so you must install hiredis-vip first:

$ git clone https://github.com/vipshop/hiredis-vip.git
$ cd hiredis-vip
$ make
$ sudo make install
$ cd ..

To build redis-cluster-tool:

$ export HIREDIS_VIP_INSTALL_DIR="your hiredis-vip install path"
$ export PREFIX="the path for redis-cluster-tool to install"
$ git clone https://github.com/deep011/redis-cluster-tool.git
$ cd redis-cluster-tool
$ make
$ sudo make install
$ ./redis-cluster-tool -h

## Package

Expand Down

0 comments on commit 7752b0c

Please sign in to comment.