This probably breaks things running locally. Let's talk about how we can use the 8888 for local development. Please refer to https://devcenter.heroku.com/articles/container-registry-and-runtime for information. NOTE: the EXPOSE keyword is not respected on heroku because they control the ports. Hence the environment variable PORT. Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com> |
||
---|---|---|
cmd/mr-fusion-server | ||
dist | ||
docs | ||
handlers | ||
influx | ||
mock | ||
models | ||
restapi | ||
ui | ||
.gitignore | ||
Dockerfile | ||
Godeps | ||
Makefile | ||
README.md | ||
assets.go | ||
circle.yml | ||
errors.go | ||
stores.go | ||
swagger.yaml | ||
timeseries.go | ||
transformer.go |
README.md
mrfusion
Builds
- To build assets and the go server, run
make
. - To run server either
./mrfusion --port 8888
ormake run
- If you add files to the javascript build and you don't want to rebuild everything, run
make bindata && make mrfusion
Deployment (for now)
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