2016-09-10 00:11:18 +00:00
|
|
|
# mrfusion
|
2016-09-16 20:47:38 +00:00
|
|
|
|
|
|
|
## Builds
|
2016-09-16 22:56:12 +00:00
|
|
|
|
|
|
|
* 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`
|
2016-09-16 20:47:38 +00:00
|
|
|
|
|
|
|
## Deployment (for now)
|
2016-09-10 00:11:18 +00:00
|
|
|
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`
|
|
|
|
|