Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heroku/heroku-buildpack-erlang
Erlang buildpack
https://github.com/heroku/heroku-buildpack-erlang
Last synced: 3 months ago
JSON representation
Erlang buildpack
- Host: GitHub
- URL: https://github.com/heroku/heroku-buildpack-erlang
- Owner: heroku
- Archived: true
- Created: 2011-10-07T20:33:35.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T10:24:58.000Z (about 4 years ago)
- Last Synced: 2024-07-20T11:06:02.316Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 4.63 MB
- Stars: 106
- Watchers: 105
- Forks: 75
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Heroku buildpack: Erlang
This is a Heroku buildpack for Erlang apps. It uses [Rebar](https://github.com/rebar/rebar) or [Rebar3](https://github.com/rebar/rebar3).
Which build tool to use is automatically detected. Rebar is currently the default. If either `rebar3` or `rebar.lock` are present, Rebar3 will be used.
### Configure your Heroku App
$ heroku config:add BUILDPACK_URL="https://github.com/heroku/heroku-buildpack-erlang.git" -a YOUR_APP
or
$ heroku create --buildpack "https://github.com/heroku/heroku-buildpack-erlang.git"
### Select an Erlang version
The Erlang/OTP release version that will be used to build and run your application is now sourced from a dotfile called `.preferred_otp_version`. It needs to be the branch or tag name from the http://github.com/erlang/otp repository, and further, needs to be one of the versions that precompiled binaries are available for.
When you fail to specify the version, the version marked with a `*` will be used. this may vary per stack.
Currently supported OTP versions (please note that cedar will receive no more updates):
cedar-14:
* OTP_R15B02
* OTP_R16B03-1
* OTP-17.3.4
* OTP-17.4
* OTP-17.4.1
* OTP-17.5.1 *
* OTP-18.0-rc1cedar:
* OTP_R15B
* OTP_R15B01
* OTP_R15B02
* OTP_R16B
* OTP_R16B01
* OTP_R16B02
* OTP_R16B03
* OTP_R16B03-1
* OTP-17.0
* OTP-17.1
* OTP-17.2
* OTP-17.3 *Please let us know ([email protected]) if you'd like some other version supported. We'll attempt to keep up to date with the official releases.
To select the version for your app:
$ echo OTP-17.5.1 > .preferred_otp_version
$ git commit -m "Select 17.5.1 as preferred OTP version" .preferred_otp_version### Build your Heroku App
$ git push heroku master
You may need to write a new commit and push if your code was already up to date.
NOTE: You need to have either an ebin/ directory or rebar.config checked into Git in order for Heroku to identify this project as an Erlang app it can build.