From 0941f3a7df3ce0a635076c09758de5a2d6cab7bc Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Mon, 18 Jan 2016 10:04:17 -0500 Subject: [PATCH] Update README to use latest Heroku buildpacks commands --- README.md | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 67c917f..ca97078 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,6 @@ I am a Heroku buildpack that installs [jemalloc](http://www.canonware.com/jemalloc/) into a dyno slug. -When used with -[heroku-buildpack-multi](https://github.com/ddollar/heroku-buildpack-multi), -I enable subsequent buildpacks / steps to link to this library. (You'll -need to use the `build-env` branch of [@mojodna's -fork](https://github.com/mojodna/heroku-buildpack-multi/tree/build-env) for the -build environment (`CPATH`, `LIBRARY_PATH`, etc.) to be set correctly.) - ## Using To use jemalloc with your app, either prefix commands with `jemalloc.sh ` @@ -18,32 +11,10 @@ environment (it will then apply to all commands run). ### Composed -You'll almost certainly want to use this in conjunction with one or more -additional buildpack. - -When creating a new Heroku app: +[Heroku now supports using multiple buildpacks for an app](https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app). ```bash -heroku apps:create -b https://github.com/ddollar/heroku-buildpack-multi.git - -cat << EOF > .buildpacks -https://github.com/mojodna/heroku-buildpack-jemalloc.git -https://github.com/heroku/heroku-buildpack-nodejs.git -EOF - -git push heroku master -``` - -When modifying an existing Heroku app: - -```bash -heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git - -cat << EOF > .buildpacks -https://github.com/mojodna/heroku-buildpack-jemalloc.git -https://github.com/heroku/heroku-buildpack-nodejs.git -EOF - +heroku buildpacks:add --index 1 https://github.com/mojodna/heroku-buildpack-jemalloc.git git push heroku master ```