Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return a name for the buildpack and update docs #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ manually.

## Usage

This buildpack is built to be used through
[heroku-buildpack-multi](https://github.com/ddollar/heroku-buildpack-multi),
so in your app you need to:
```
heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
```
Heroku now supports using multiple buildpacks for an app - see
[here](https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app)
for more info.

So in your app you need to do:

Then, create a `.buildpacks` file inside your app:
```
heroku buildpacks:set --index 1
https://github.com/ello/heroku-buildpack-imagemagick-cedar-14

heroku buildpacks:set --index 2
https://github.com/heroku/heroku-buildpack-nodejs
```

This example was based on the nodejs buildpack, but it can be used with
any other.
If it is not working with yours, please report a bug.
Then deploy your application. This example was based on the nodejs buildpack, but it can be used with
any other. If it is not working with yours, please report a bug.

## Thanks

Expand Down
2 changes: 2 additions & 0 deletions bin/detect
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#! /bin/bash

echo "imagemagick"
# this buildpack can always be used
exit 0