doc: add build-from-source

This commit is contained in:
c9s 2021-12-06 01:07:29 +08:00
parent 474be4e815
commit d753597060

15
doc/build-from-source.md Normal file
View 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
```