update .gitignore

v4
vinllen 5 years ago
parent aa04ed0e20
commit e8d4bee4ee
  1. 1
      .gitignore
  2. 6
      README.md

1
.gitignore vendored

@ -13,7 +13,6 @@ logs
tags tags
result.db.* result.db.*
bin/* bin/*
!/bin/redis-shake.*
conf/* conf/*
!conf/redis-shake.conf !conf/redis-shake.conf

@ -65,11 +65,11 @@ Add tag when releasing: "release-v{version}-{date}". for example: "release-v1.0.
# Usage # Usage
--- ---
Run `./bin/redis-shake.darwin64` or `redis-shake.linux64` which is built in OSX and Linux respectively.<br> You can use the binary in the release package.<br>
Or you can build redis-shake yourself according to the following steps: You can also build redis-shake yourself according to the following steps, the `go` and `govendor` must be installed before compile:
* git clone https://github.com/alibaba/RedisShake.git * git clone https://github.com/alibaba/RedisShake.git
* cd RedisShake * cd RedisShake
* export GOPATH=\`pwd\`/../.. * export GOPATH=\`pwd\`
* cd src/sync * cd src/sync
* govendor sync #please note: must install govendor first and then pull all dependencies: `go get -u github.com/kardianos/govendor` * govendor sync #please note: must install govendor first and then pull all dependencies: `go get -u github.com/kardianos/govendor`
* cd ../../ && ./build.sh * cd ../../ && ./build.sh

Loading…
Cancel
Save