mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
doc: add build-from-source
This commit is contained in:
parent
474be4e815
commit
d753597060
15
doc/build-from-source.md
Normal file
15
doc/build-from-source.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Build From Source
|
||||
|
||||
If you need to use go-sqlite, you will need to enable CGO first:
|
||||
|
||||
```
|
||||
CGO_ENABLED=1 go get github.com/mattn/go-sqlite3
|
||||
```
|
||||
|
||||
If you prefer to put go related binary in your HOME directory:
|
||||
|
||||
Install the bbgo command:
|
||||
|
||||
```sh
|
||||
go get github.com/c9s/bbgo/cmd/bbgo@latest
|
||||
```
|
Loading…
Reference in New Issue
Block a user