diff options
-rw-r--r-- | README.md | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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 |