mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
doc: move mysql docker instruction
This commit is contained in:
parent
a8f5f053da
commit
4f30cd49b4
|
@ -51,9 +51,7 @@ bash <(curl -s https://raw.githubusercontent.com/c9s/bbgo/main/scripts/setup-gri
|
||||||
|
|
||||||
### Install from source
|
### Install from source
|
||||||
|
|
||||||
Optional: setup MySQL or [run it in docker](https://hub.docker.com/_/mysql)
|
Install the bbgo command:
|
||||||
|
|
||||||
Install the builtin commands:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get -u github.com/c9s/bbgo/cmd/bbgo
|
go get -u github.com/c9s/bbgo/cmd/bbgo
|
||||||
|
@ -188,6 +186,8 @@ To use MySQL database for data syncing, first you need to install your mysql ser
|
||||||
sudo apt-get install -y mysql-server
|
sudo apt-get install -y mysql-server
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or [run it in docker](https://hub.docker.com/_/mysql)
|
||||||
|
|
||||||
Create your mysql database:
|
Create your mysql database:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in New Issue
Block a user