GitHub Readme.md
Install Graphviz on Heroku.
This buildpack installs the Graphviz binaries to /app/graphviz/bin
. The used Graphviz version is:
The /app/graphviz/bin
directory is added to the PATH
. The variable GRAPHVIZ_DOT
is set to /app/graphviz/bin
(required by some tools, e.g. PlantUML).
The binaries are taken from the official Ubuntu packages: http://packages.ubuntu.com/trusty/graphviz for Cedar-14 (Ubuntu 14.04 LTS), and http://packages.ubuntu.com/lucid/graphviz for Cedar (Ubuntu 10.04 LTS).
Simply do
heroku buildpack:set https://github.com/weibeld/heroku-buildpack-graphviz.git
On the next git push heroku master
, the Graphviz buildpack will be used.
For more information on how to use custom buildpacks, see https://devcenter.heroku.com/articles/third-party-buildpacks#using-a-custom-buildpack.
To use multiple buildpacks, you can use heroku-buildpack-multi:
# Create file .buildpacks in app root, listing the buildpacks you want to use
cat <<EOF >.buildpacks
https://github.com/heroku/heroku-buildpack-ruby.git
https://github.com/weibeld/heroku-buildpack-graphviz.git
EOF
heroku buildpack:set https://github.com/ddollar/heroku-buildpack-multi.git
On the next git push heroku master
, all the buildpacks listed in .buildpacks
will be used.
You can verify the installation of Graphviz with
heroku run dot -V
Licensed under the MIT License. See LICENSE.md file.
Copy the snippet above into CLI.