Merge pull request #32 from c9s/feature/heroku

feature: add heroku configuration (incomplete)
This commit is contained in:
Yo-An Lin 2020-10-26 10:50:34 +08:00 committed by GitHub
commit b6cc0be43d
3 changed files with 29 additions and 0 deletions

1
Procfile Normal file
View File

@ -0,0 +1 @@
worker: bin/bbgo run --config config/bbgo.yaml

26
app.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "bbgo",
"description": "a modern cryptocurrency trading bot",
"repository": "https://github.com/c9s/bbgo",
"keywords": [
"trading",
"cryptocurrency",
"crypto"
],
"env": {
"MAX_API_KEY": {
"description": "The API key of your MAX Exchange account"
},
"MAX_API_SECRET": {
"description": "The API secret of your MAX Exchange account"
}
},
"buildpacks": [
{
"url": "heroku/go"
}
],
"addons": [
"jawsdb:kitefin"
]
}

2
go.mod
View File

@ -1,3 +1,5 @@
// +heroku install ./cmd/...
module github.com/c9s/bbgo module github.com/c9s/bbgo
go 1.13 go 1.13