/wkhtmltopdf-buildpack

Heroku buildpack for WKHTMLTOPDF (Supports cedar-14, heroku-16, or heroku-18)

Primary LanguageShellMIT LicenseMIT

wkhtmltopdf Buildpack

This is a Heroku buildpack for bundling a compatible wkhtmltopdf binary with your environment.

wkhtmltoimage binary is not included in this buildpack.

Versions

  • Buildpack: 0.2
  • wkhtmltopdf: 0.12.6-r1

Usage

This buildpack only installs wkhtmltopdf, it isn't very useful by itself. You'll probably want to use add it to you current buildpacks config.

$ heroku buildpacks:add https://github.com/notvad/wkhtmltopdf-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 Heroku-20 with Ubuntu 20.04 (heroku-20). You can check this with:

$ heroku stack