Skip to content

Commit

Permalink
Updated readme to match new Go 1.11 module changes (thrasher-corp#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtda authored and thrasher- committed Nov 9, 2018
1 parent 5fe12a5 commit 659f7cc
Showing 1 changed file with 11 additions and 26 deletions.
37 changes: 11 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,39 +92,24 @@ platform.

### Linux/OSX

We use the `dep` tool provided by Golang for managing dependencies. As it is not officially part
of the go tools package suite, you will need to manually install it if you have not already.

On MacOS you can install or upgrade to the latest released version with Homebrew:

```sh
brew install dep
brew upgrade dep
```

On linux or MacOS, you can also install it via `go get`:

```sh
go get -u github.com/golang/dep/cmd/dep
```

After `dep` is installed, please follow the instructions below:
GoCryptoTrader is built using [Go Modules](https://github.com/golang/go/wiki/Modules) and requires Go 1.11 or above
Using Go Modules you now clone this repository **outside** your GOPATH

```bash
go get github.com/thrasher-/gocryptotrader
cd $GOPATH/src/github.com/thrasher-/gocryptotrader
make get
make install
cp $GOPATH/src/github.com/thrasher-/gocryptotrader/config_example.json $GOPATH/bin/config.json
git clone https://github.com/thrasher-/gocryptotrader.git
cd gocryptotrader
go build
mkdir ~/.gocryptotrader
cp config_example.json ~/.gocryptotrader/config.json
```

### Windows

```bash
go get github.com/thrasher-/gocryptotrader
cd %GOPATH%\src\github.com\thrasher-\gocryptotrader
go install
copy %GOPATH%\src\github.com\thrasher-\gocryptotrader\config_example.json %GOPATH%\bin\config.json
git clone https://github.com/thrasher-/gocryptotrader.git
cd gocryptotrader
go build
copy config_example.json %APPDATA%\GoCryptoTrader\config.json
```

+ Make any neccessary changes to the `config.json` file.
Expand Down

0 comments on commit 659f7cc

Please sign in to comment.