From 2c2361e62d07a2ae0a7918e906a2bcbc0756320a Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 27 Nov 2018 18:36:10 +0800 Subject: misc: Update README.md (#344) --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 315cc06..88e35f4 100644 --- a/README.md +++ b/README.md @@ -17,22 +17,23 @@ DEXON Consensus cd dexon-consensus ``` -2. Install go dependency management tool +2. Setup GOPATH, the GOPATH could be anywhere in the system. Here we use `$HOME/go`: ``` - ./bin/install_tools.sh + export GOPATH=$HOME/go + export PATH=$GOPATH/bin:$PATH ``` + You should write these settings to your `.bashrc` file. + -3. Install all dependencies +3. Install go dependency management tool ``` - dep ensure + ./bin/install_tools.sh ``` -4. Setup GOAPTH, the GOPATH could be anywhere in the system. Here we use `$HOME/go`: +4. Install all dependencies ``` - export GOPATH=$HOME/go - export PATH=$GOPATH/bin:$PATH + dep ensure ``` - You should write these settings to your `.bashrc` file. ### Run Unit Tests -- cgit