Skip to content

weibeld/heroku-buildpack-graphviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack: Graphviz

Install Graphviz on Heroku.

Description

This buildpack installs Graphviz on Heroku and makes it available to your Heroku application.

The installed version of Graphviz depends on the Heroku stack (which is automatically detected by the buildpack):

The Graphviz executables are installed to the following directory:

/app/.heroku-buildpack-graphviz/usr/bin

The above directory is added to the PATH environment variable, so Graphviz commands like dot and neato are directly available to your app without specifying their path.

Install

For adding the buildpack in addition with other buildpacks, use:

heroku buildpacks:add https://github.com/weibeld/heroku-buildpack-graphviz

For setting the buildpack as the only buildpack, use:

heroku buildpacks:set https://github.com/weibeld/heroku-buildpack-graphviz

You can verify that the buildpack has been added with:

heroku buildpacks

Verify

After deploying your application with the buildpack at least once, you can verify the installation of Graphviz with:

heroku run dot -V

The above command runs dot -V on the application dyno, that is, in the same environment in which your application is running. That means, if the above command succeeds, your application can use Graphviz commands such as dot in the same way.

Develop

For implementation notes, see DEVELOPMENT.md.

License

Licensed under the MIT License. See LICENSE.md file.