diff --git a/Readme.md b/Readme.md index 1f32e88..88944fd 100644 --- a/Readme.md +++ b/Readme.md @@ -127,11 +127,14 @@ Any characters after a semicolon will be ignored until end of line. Semicolons f ## How to build ### Compiling/Installation 1. [follow Google's instructions to install Go](https://golang.org/doc/install) - - after these instructions you should have $GOPATH set -2. run `$ go get -u gitlab.com/whom/shs` -3. change directory to $GOPATH/src/gitlab.com/whom/shs -4. run `$ go install ./cmd/shs.go` - - if you have the Go binary directory in your path you can now call `shs` via the shell +2. run `$ mkdir -p ~/go` +3. add the following commands to your shell configuration, and run them in your shell + - `export GOPATH $HOME/go` + - `export PATH $PATH:$GOPATH/bin` +4. run `$ go get -u gitlab.com/whom/shs` +5. change directory to `$GOPATH/src/gitlab.com/whom/shs` +6. run `$ go install ./cmd/shs.go` +7. you can now call `shs` via the shell ### Adding SHS to your application Here are some important tips for integrating an SHS REPL into another codebase.