mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
simplify the required mysql env vars
This commit is contained in:
parent
1ce3244c17
commit
af269da47c
|
@ -51,13 +51,7 @@ BINANCE_API_SECRET=
|
||||||
MAX_API_KEY=
|
MAX_API_KEY=
|
||||||
MAX_API_SECRET=
|
MAX_API_SECRET=
|
||||||
|
|
||||||
MYSQL_HOST=127.0.0.1
|
MYSQL_URL=root@tcp(127.0.0.1:3306)/bbgo?parseTime=true
|
||||||
MYSQL_PORT=3306
|
|
||||||
MYSQL_USERNAME=root
|
|
||||||
MYSQL_PASSWORD=
|
|
||||||
MYSQL_DATABASE=bbgo
|
|
||||||
# Make sure the following line is correct so you can migrate successfully
|
|
||||||
MYSQL_URL=root@tcp(127.0.0.1:3306)/bbgo
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure you have [dotenv](https://github.com/bkeepers/dotenv). Then run the `migrate` command to initialize your database:
|
Make sure you have [dotenv](https://github.com/bkeepers/dotenv). Then run the `migrate` command to initialize your database:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user