Permalink
Browse files

Correct compilation instructions

  • Loading branch information...
1 parent a864ff6 commit 639603b71b25fa2db5a87dcd48f2797b923c3ed7 @gwatts committed on GitHub Jan 2, 2017
Showing with 14 additions and 2 deletions.
  1. +14 −2 README.md
View
@@ -134,8 +134,20 @@ the text the program prints in the issue so I can help.
If you don't want to use one of the [pre-compiled binaries](https://github.com/gwatts/pinfinder/releases)
you can compile it yourself.
-1. [Download and install Go](https://golang.org/doc/install)
-2. run go install github.com/gwatts/pinfinder
+1. [Download and install Go](https://golang.org/doc/install) - Be sure to follow the instructions to [setup a workspace](https://golang.org/doc/code.html#Workspaces) and set a `GOPATH` environment variable to suit
+2. run `go get github.com/gwatts/pinfinder`
+
+If you just want to compile the program as quick as possible, install Go from the web site above, and run the following steps to build and install it to `~/pinfinder/bin/pinfinder`
+
+```bash
+cd ~
+mkdir ~/pinfinder
+cd pinfinder
+mkdir src bin pkg
+export GOPATH=~/pinfinder
+go get github.com/gwatts/pinfinder
+bin/pinfinder
+```
## Other resources

0 comments on commit 639603b

Please sign in to comment.