extend build instructions
This commit is contained in:
parent
47530e330b
commit
5b8716c0c4
1 changed files with 8 additions and 5 deletions
13
Readme.md
13
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue