From cf7d6a40074c827e09b98ff859e401f497575ee6 Mon Sep 17 00:00:00 2001 From: Geoff Cant Date: Sat, 21 Jul 2012 15:06:17 -0700 Subject: [PATCH] Update the readme to note .preferred_otp_version. --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3a92360..44fefd0 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,11 @@ This is a Heroku buildpack for Erlang apps. It uses [Rebar](https://github.com/b or $ heroku create --buildpack "https://github.com/archaelus/heroku-buildpack-erlang.git#bleeding_edge" -Then: - - $ heroku labs:enable user_env_compile -a YOUR_APP - ### Select an Erlang version -Currently supported: +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. + +Currently supported OTP versions: * master (R15B02 pre) * master-pu (R16B pre) @@ -24,9 +22,10 @@ Currently supported: * OTP_R15B01 * OTP_R15B02 -Select the version for your app: +To select the version for your app: - heroku config:add OTP_VERSION=OTP_R15B01 -a YOUR_APP + $ echo OTP_R15B01 > .preferred_otp_version + $ git commit "Select R15B01 as preferred OTP version" .preferred_otp_version ### Build your Heroku App