documentcloud / docsplit

Break Apart Documents into Images, Text, Pages and PDFs
http://documentcloud.github.com/docsplit/
Other
832 stars 214 forks source link

Deploy to heroku #77

Open josal opened 11 years ago

josal commented 11 years ago

Hi,

we're impressed with your repository. It's simply excellent!! In theory it covers all of our needs. However, we would like to know if it would be possible to include it in a heroku app, regarding the library dependencies.

Thanks for the info, kind regards.

J.

dglunz commented 9 years ago

Hey @josal,

I know this is an old question but you never know who's still looking for a similar answer.

I used a multi-buildpack to add all of the library dependencies.

You're able to specify your buildpack on heroku with: heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

Then add the dependencies to .buildpacks in your project's root directory. For example, these are in my .buildpacks:

https://github.com/mcollina/heroku-buildpack-graphicsmagick.git
https://github.com/BauCloud/heroku-buildpack-poppler.git
https://github.com/elbongurk/heroku-buildpack-ghostscript.git
https://github.com/heroku/heroku-buildpack-ruby.git