Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.24 KB

Heroku Buildpack: Jpegoptim

This is a Heroku buildpack for using jpegoptim in your application.

It is designed to be used with heroku-buildpack-multi to combine it with the appropriate real buildpack for your app.

This is based on http://github.com/jayzes/heroku-buildpack-ffmpeg, which was in turn based on https://github.com/shunjikonishi/heroku-buildpack-ffmpeg

Usage

Add a .buildpacks file to the root of your repo that contains this buildpack URL and your real buildpack URL:

https://github.com/jayzes/heroku-buildpack-jpegoptim
https://github.com/heroku/heroku-buildpack-ruby

Then create an application using the multi buildpack:

$ heroku create --buildpack https://github.com/ddollar/heroku-buildpack-multi

If you want to add it to an existing application run:

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi

And then push the changes to Heroku to being the installation:

$ git push heroku master

You can verify that everything is properly installed by running the following command:

$ heroku run "jpegoptim -V"