Closed bengolder closed 8 years ago
It is now functioning on Heroku! http://pdfhook.herokuapp.com/
Here are the necessary commands for setup:
heroku apps:create
echo 'python-3.5.1' > runtime.txt
heroku buildpacks:set heroku/python
heroku buildpacks:add --index 1 https://github.com/fxtentacle/heroku-pdftk-buildpack
heroku config:set CONFIG=src.settings.ProdConfig
heroku config:set LD_LIBRARY_PATH=/app/bin
heroku config:set PDFTK_PATH=/app/bin/pdftk
git push heroku master
This article outlines the steps of installing pdftk on Heroku, for integration into a Rails application. It also discusses a Ruby plugin that wraps pdftk.