AdRoll/habanero — pull request #5 by linearregression (2014-09-15 05:39:24+00:00)
Title: Make Habanero as OTP Release (If you want, not crucial just may be easier on distribution logistics)

Hi just make Habanero as Otp Release so that user does not need to install erlang VM just to run the tool
- The release has Erlang VM and the dependencies as part of the release under rel/habanero. You can distribute whole thing as zip file
Changes:
- Update Makefile to include release. Also include some helpers:
* clean_all: clean and also remove dependencies (deep clean)
* quick_compile: just compile project, no need to recompile deps
* copy your webpage stuff to rel/files as part of release build step later,
use habanero.config as sys.config in release
* rel: otp release generate
- rel/reltool.config (include the dependent apps habarneo required, exclude hipe because not all OS is ok with it which you can enable)
- add mkdir -p log in habanero.sh, so that script will run even if user forgets to create log folder on fresh run
- rel/files/vm.config (enable +K, GC Sweep, please tune to your needs)
- rel/files are default generated from rebar createnode; reltool.config is updated though.
- I have updated rebar to newer version but run under R17

I have tried the build. I am using R17, but also Tried on R16 whcih looks same result
using bin/habanero console (as in interactive mode in README)
bin/babanerio start (Use from webpage)
Also trye out the HTTPGET on api/history etc etc etc (looks working also)

Basically I can run the tests as in your README
Screenshot:
http://snag.gy/MIwNh.jpg

Note: reltool.config version is not semver, the rebar semver pluign does not change that version, so a script or manual is needed; I just leave it as is for now.