kiskolabs / heroku-buildpack-calibre Goto Github PK
View Code? Open in Web Editor NEWSimple buildpack to install Calibre on Heroku
License: MIT License
Simple buildpack to install Calibre on Heroku
License: MIT License
I think that this line
heroku-buildpack-calibre/bin/compile
Line 27 in d1473d9
After executing:
heroku run /bin/bash
echo $PATH
I get /usr/local/bin:/usr/bin:/bin
(no /app/calibre
).
I think the proper way to add something to the path is shown here https://github.com/heroku/heroku-buildpack-php/blob/cd2d13992b72d049aa270d4b745aae6329e0c037/bin/compile#L115 and described here https://devcenter.heroku.com/articles/buildpack-api#example-profile-d-mybuildpack-defaults-sh
Compile error ImportError: No module named site
Thank your for creating this builpack - it helped me a lot!
What do you think about an option to specify the exact version of Calibre which should be installed? When using this buildpack Calibre is installed from scratch on every deploy and as a new version of Calibre is released, it will be automatically "upgraded".
It looks like the linux-installer.py
provides a way to install a different version than the latest one - https://github.com/kovidgoyal/calibre/blob/0cb677fb90f2302a3b8fea48b60b946207f429b2/setup/linux-installer.py#L16 We could set CALIBRE_INSTALLER_LOCAL_URL
to http://download.calibre-ebook.com/2.62.0/calibre-2.62.0-x86_64.txz
(for example).
The value of CALIBRE_INSTALLER_LOCAL_URL
could be read from Heroku config variables as described here https://devcenter.heroku.com/articles/buildpack-api#buildpack-api -> ENV_DIR
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.