From 7affc7dea77b109063164cae9b20d6e3228e069e Mon Sep 17 00:00:00 2001 From: vinllen Date: Wed, 8 May 2019 19:12:57 +0800 Subject: [PATCH] update .gitignore --- .gitignore | 1 - README.md | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c2f7e30..40c2ac9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ logs tags result.db.* bin/* -!/bin/redis-shake.* conf/* !conf/redis-shake.conf diff --git a/README.md b/README.md index 894dd36..d77f3c8 100644 --- a/README.md +++ b/README.md @@ -65,11 +65,11 @@ Add tag when releasing: "release-v{version}-{date}". for example: "release-v1.0. # Usage --- -Run `./bin/redis-shake.darwin64` or `redis-shake.linux64` which is built in OSX and Linux respectively.
-Or you can build redis-shake yourself according to the following steps: +You can use the binary in the release package.
+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 * cd RedisShake -* export GOPATH=\`pwd\`/../.. +* export GOPATH=\`pwd\` * cd src/sync * govendor sync #please note: must install govendor first and then pull all dependencies: `go get -u github.com/kardianos/govendor` * cd ../../ && ./build.sh