doc: move mysql docker instruction

This commit is contained in:
c9s 2021-03-19 11:52:09 +08:00
parent a8f5f053da
commit 4f30cd49b4

View File

@ -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