This repo (originally forked from heroku/heroku-buildpack-multi), is a Heroku buildpack that triggers one or more other buildpacks in a single deploy process.
It was created to migrate The Feed from the Heroku stack of Cedar-10 to Cedar-14.
To use this buildpack with an app that requires it such as The Feed, in that app's repo on your local machine you'll first need to set it as your custom buildpack specifying the app with the -a Heroku flag:
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git -a feed-staging
In The Feed there are 2 buildbacks in the .buildpacks file that we need to run: https://github.com/Americastestkitchen/heroku-buildpack-apt https://github.com/Americastestkitchen/heroku-wordpress-php
See The Feed for more information on its .buildpack file.
See ATK's heroku-buildpack-apt buildpack, for more information on the Aptfile which installs dependencies during the Heroku build process.
See ATK's heroku-wordpress-php buildpack, for more information regarding bundling PHP and Apache for Heroku.
The following is from the original repo instructions heroku/heroku-buildpack-multi.
This multi buildpack helps support:
- Running multiple language buildpacks such as JS for assets and Ruby for your application
- Running a daemon process such as pgbouncer with your application
- Pulling in system dependencies.
To use this buildpack you'll first need to set it as your custom buildpack:
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git
From here you will need to create a .buildpacks
file which contains (in order) the buildpacks you wish to run when you deploy:
$ cat .buildpacks
https://github.com/heroku/heroku-buildpack-nodejs.git#0198c71daa8
https://github.com/heroku/heroku-buildpack-ruby.git#v86
MIT