This is a Heroku buildpack for using wkhtmltopdf 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 https://github.com/jayzes/heroku-buildpack-pngquant.
The following wkhtmltopdf versions are available:
Version 0.12.2.1 released on January 19, 2015
Version 0.12.1 released on June 26, 2014
This branch works with version 0.12.2.1
This is designed to be used on Cedar-14 Stack.
Add a .buildpacks
file to the root of your repo that contains this buildpack URL and your real buildpack URL:
https://github.com/rafaelp/heroku-buildpack-wkhtmltopdf#0.12.2.1
https://github.com/heroku/heroku-buildpack-ruby
Then create an application using the multi buildpack:
$ heroku create --stack cedar-14 --buildpack https://github.com/ddollar/heroku-buildpack-multi
or configure an existing application:
$ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
Deploy your applicatio.
$ git push heroku master
Remember to clean your repository cache if you are updating the version of buildpack. To do that, run:
$ heroku plugins:install https://github.com/heroku/heroku-repo.git
$ heroku repo:purge_cache -a appname
You can verify that everything is properly installed by running the following command:
$ heroku run "wkhtmltopdf -V"
The output should be:
wkhtmltopdf 0.12.2.1 (with patched qt)
If you have problems, please create a Github Issue.
heroku-buildpack-wkhtmltopdf was originally written by Rafael Lima.
Working at Boleto Simples
Github: https://github.com/rafaelp
Twitter: http://twitter.com/rafaelp
heroku-buildpack-wkhtmltopdf is Copyright © 2014 Rafael Lima. It is free software, and may be redistributed under the terms specified in the LICENSE file.