Updating readme.md

Added a few lines under Building, for helping with setting the gopath !
This commit is contained in:
tl 2017-11-04 14:51:47 +01:00 committed by GitHub
parent cd16d7e397
commit fb92e9522e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,15 @@ This application can be installed by using `go get`:
`go get github.com/mpolden/ipd`
If you get the error $GOPATH not set. For more details see: go help gopath when trying to do **go get github.com/mpolden/ipd**, simply enter this into a terminal:
```sh
mkdir ~/.go
echo "GOPATH=$HOME/.go" >> ~/.bashrc
echo "export GOPATH" >> ~/.bashrc
echo "PATH=\$PATH:\$GOPATH/bin # Add GOPATH/bin to PATH for scripting" >> ~/.bashrc
source ~/.bashrc
```
### Usage
```