mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
doc: describe the git clone installation
This commit is contained in:
parent
a540968533
commit
0290e6d07b
|
@ -74,10 +74,17 @@ Then your bbgo will be installed at `~/mygo/bin/bbgo`.
|
||||||
|
|
||||||
### Install via git clone
|
### Install via git clone
|
||||||
|
|
||||||
|
Since the default GOPATH is located at `~/go`, you can clone the bbgo repo into the folder `~/go/src/github.com/c9s/bbgo`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir -p ~/go/src/github.com/c9s
|
mkdir -p ~/go/src/github.com/c9s
|
||||||
git clone git@github.com:c9s/bbgo.git ~/go/src/github.com/c9s/bbgo
|
git clone git@github.com:c9s/bbgo.git ~/go/src/github.com/c9s/bbgo
|
||||||
cd ~/go/src/github.com/c9s/bbgo
|
cd ~/go/src/github.com/c9s/bbgo
|
||||||
|
```
|
||||||
|
|
||||||
|
Download the go modules:
|
||||||
|
|
||||||
|
```shell
|
||||||
go mod download
|
go mod download
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user