Go to file
Andrew Watkins 13eff5dbc5 Specify the port as to play with Heroku.
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>
2016-09-22 10:59:56 -07:00
cmd/mr-fusion-server Auto-generate backend with stubbed ops 2016-09-12 15:12:30 -04:00
dist Add default content to always go to index.html. 2016-09-19 19:08:32 -07:00
docs Add design ideas around autogenerated golang http server from swagger 2016-09-16 14:20:04 -05:00
handlers Fix typo for autogenerated code 2016-09-21 15:37:01 -07:00
influx Update influx to remove the v2 client and use our own. 2016-09-21 17:58:46 -07:00
mock Fix typo for autogenerated code 2016-09-21 15:37:01 -07:00
models Update Database to be DB 2016-09-21 15:11:29 -07:00
restapi Add simple influx backend through cli option. 2016-09-21 15:03:07 -07:00
ui add host view page with dancing banana 2016-09-21 14:00:25 -07:00
.gitignore Tweak build output path and gitignore 2016-09-19 13:45:05 -07:00
Dockerfile Specify the port as to play with Heroku. 2016-09-22 10:59:56 -07:00
Godeps Update influx to remove the v2 client and use our own. 2016-09-21 17:58:46 -07:00
Makefile Update Makefile bindata to not use dev flag 2016-09-21 10:52:38 -07:00
README.md Update the build instructions with more common practices 2016-09-19 13:45:05 -07:00
assets.go Fix bug where handlers were not serving. 2016-09-19 13:45:05 -07:00
circle.yml Update circle and makefile to build and test everything. 2016-09-19 13:45:05 -07:00
errors.go Rework domain errs to be strings 2016-09-19 10:12:52 -04:00
stores.go Add API for monitored services. 2016-09-15 11:28:51 -05:00
swagger.yaml Update Database to be DB 2016-09-21 15:11:29 -07:00
timeseries.go Update Database to be DB 2016-09-21 15:11:29 -07:00
transformer.go Add interfaces to backend data and logic. 2016-09-12 14:43:37 -05:00

README.md

mrfusion

Builds

  • To build assets and the go server, run make.
  • To run server either ./mrfusion --port 8888 or make 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