GithubHelp home page GithubHelp logo

heroku-buildpack-wkhtmltopdf's Introduction

Heroku Buildpack: wkhtmltopdf

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.

Versions

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

Stack

This is designed to be used on Cedar-14 Stack.

Usage

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)

Issues

If you have problems, please create a Github Issue.

Credits

heroku-buildpack-wkhtmltopdf was originally written by Rafael Lima.

Working at Boleto Simples

Github: http://github.com/rafaelp

Twitter: http://twitter.com/rafaelp

License

heroku-buildpack-wkhtmltopdf is Copyright © 2014 Rafael Lima. It is free software, and may be redistributed under the terms specified in the LICENSE file.

heroku-buildpack-wkhtmltopdf's People

Contributors

johnrees avatar rafaelp avatar toncid avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

heroku-buildpack-wkhtmltopdf's Issues

deprecated multi-buildpack

Hi,

so the ddolar multi-buildpack seems to be no longer supported, but I also did not have much luck with the built-in multi support so far. What are you using currently?

use updated URL for wkhtmltopdf downloads

Hello,

wkhtmltopdf has moved the downloads provider from SourceForge to gna.org. As mentioned in the linked message, all earlier downloads have been removed from SourceForge and you are strongly advised to migrate to the new URLs. The following files in your repository will need to be updated:

  • bin/compile

It is recommended to either subscribe to the mailing list or Twitter feed to receive updates on new releases and further changes.

Thanks,
wkhtmltopdf maintainer

wkhtmltopdf install on every deploy

This is great - thanks for this!

Just one question - it seems that wkhtmltopdf installs on every deploy - is this expected behaviour?

Thanks,
Chris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.