Install Graphviz on Heroku.
This buildpack installs Graphviz to your application slug.
The installed Graphviz versions are:
- Graphviz 2.40.1 for Heroku-18 (package
graphviz_2.40.1-2_amd64.deb
) - Graphviz 2.38.0 for Heroku-16 (package
graphviz_2.38.0-12ubuntu2_amd64.deb
)
The Graphviz packages are installed under the /app/heroku-buildpack-graphviz
directory, and the Graphviz executables are located in /app/heroku-buildpack-graphviz/usr/bin
. The latter directory is added to the PATH
.
heroku buildpacks:set https://github.com/weibeld/heroku-buildpack-graphviz.git
See Heroku documentation here.
To use this buildpack together with other buildpacks, use for example:
heroku buildpacks:add heroku/ruby
heroku buildpacks:add https://github.com/weibeld/heroku-buildpack-graphviz.git
See Heroku docmentation here.
You can always check which buildpacks are currently set with:
heroku buildpacks
Verify the installation of Graphviz with:
heroku run dot -V
For development purposes, you can test the buildpack locally with the test.sh script:
./test.sh
This runs the buildpack script in a local Docker container of the Heroku-18 and Heroku-16 stacks.
Licensed under the MIT License. See LICENSE.md file.