At @goller's recommendation, we're following @benbjohnson's advice laid out here: https://github.com/benbjohnson/wtf/blob/master/errors.go and moving errors to the top level package. This cleaned up some ugliness in the tests where we needed to type assert. |
||
|---|---|---|
| cmd/mr-fusion-server | ||
| docs | ||
| influx | ||
| mock | ||
| models | ||
| restapi | ||
| ui | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| Godeps | ||
| Makefile | ||
| README.md | ||
| circle.yml | ||
| errors.go | ||
| stores.go | ||
| swagger.yaml | ||
| timeseries.go | ||
| transformer.go | ||
README.md
mrfusion
Includes a Dockerfile that builds a container suitable for Heroku.
In order to push to heroku, make sure you've logged into Heroku normally with...
heroku login
Add the acceptance server git remote...
git remote add acceptance https://git.heroku.com/mrfusion-acc.git
When you run heroku apps you should see "mrfusion-acc".
Then install the container plugin
heroku plugins:install heroku-container-registry
Then log into the container registry with...
heroku container:login
Build and push the web container by running...
heroku container:push web