heroku-buildpack-erlang.mk

by hoongun

GitHub Readme.md

Heroku buildpack: Erlang

Heroku buildpack for Erlang apps using erlang.mk. If you are using Rebar, you should try this or this.

Configure your Heroku App::

heroku config:add BUILDPACK_URL="https://github.com/hoongun/heroku-buildpack-erlang.mk.git" -a YOUR_APP

Example of building a Heroku app

cd YOUR_APP_DIR

heroku login
heroku apps:create YOUR_APP
heroku git:remote -a YOUR_APP

# Erlang buildpack
heroku config:add BUILDPACK_URL="https://github.com/hoongun/heroku-buildpack-erlang.mk.git" -a YOUR_APP

# Add a Procfile for launch an app
echo "web: ./_rel/YOUR_APP_release/bin/YOUR_APP_release-1 start && tail -f output.log" > ./Procfile

git commit -am "Added a Procfile"
git push heroku master