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
|
## How to build
|
||||||
### Compiling/Installation
|
### Compiling/Installation
|
||||||
1. [follow Google's instructions to install Go](https://golang.org/doc/install)
|
1. [follow Google's instructions to install Go](https://golang.org/doc/install)
|
||||||
- after these instructions you should have $GOPATH set
|
2. run `$ mkdir -p ~/go`
|
||||||
2. run `$ go get -u gitlab.com/whom/shs`
|
3. add the following commands to your shell configuration, and run them in your shell
|
||||||
3. change directory to $GOPATH/src/gitlab.com/whom/shs
|
- `export GOPATH $HOME/go`
|
||||||
4. run `$ go install ./cmd/shs.go`
|
- `export PATH $PATH:$GOPATH/bin`
|
||||||
- if you have the Go binary directory in your path you can now call `shs` via the shell
|
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
|
### Adding SHS to your application
|
||||||
Here are some important tips for integrating an SHS REPL into another codebase.
|
Here are some important tips for integrating an SHS REPL into another codebase.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue