Skip to content

Commit

Permalink
Update usage instructions (jonathanong#35)
Browse files Browse the repository at this point in the history
Since:
* `.buildpacks` is no longer used now that Heroku supports multi-buildpack natively.
* without the `--index 1`, this buildpack gets added to the end of the buildpacks list
  rather than the start, which for apps relying on automatic process type detection
 (ie: they don't have an explicit `Procfile`) prevent the main language buildpack
  from defining them.

Fixes jonathanong#28.
  • Loading branch information
edmorley committed Jan 8, 2021
1 parent b803256 commit d549ddc
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ Unlike other build packs, I never compile anything.

## Usage

Add the following to your `.buildpacks`:
Run the following from the heroku command line:

```
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
heroku buildpacks:add --index 1 https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
```

Or run the following from the heroku command line:

```
heroku buildpacks:add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
```
Note: This buildpack should be added before the main language buildpack (by using `--index 1`),
since the application process types are calculated from the last buildpack in the list if no
`Procfile` is specified.

0 comments on commit d549ddc

Please sign in to comment.