Skip to content

almirsarajcic/wkhtmltox-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wkhtmltox Buildpack

This is a Heroku buildpack for bundling compatible wkhtmltopdf and wkhtmltoimage binaries with your environment.

Versions

  • Buildpack: 0.3
  • wkhtmltopdf: 0.12.3

Usage

This buildpack only installs wkhtmltopdf and wkhtmltoimage, it isn't very useful by itself. You'll probably want to use it as part of a multi-buildpack. Here is an example using the Ruby buildpack.

$ heroku buildpacks:set 'https://github.com/heroku/heroku-buildpack-multi.git'
$ echo 'https://github.com/heroku/heroku-buildpack-ruby.git' >> .buildpacks
$ echo 'https://github.com/almirsarajcic/wkhtmltox-buildpack.git' >> .buildpacks
$ git add .buildpacks
$ git commit -m 'Add multi-buildpack'

Clearing Repo Cache

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

Troubleshooting

If you run into issues when trying to deploy with this buildpack, make sure your app is running on Cedar with Ubuntu 14.04 (cedar-14). You can check this with:

$ heroku stack

If you are on an older stack, you can upgrade to cedar-14 with:

$ heroku stack:set cedar-14

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%