Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weibeld/heroku-buildpack-graphviz
Install Graphviz on Heroku
https://github.com/weibeld/heroku-buildpack-graphviz
buildpack graphviz heroku heroku-buildpack
Last synced: about 2 months ago
JSON representation
Install Graphviz on Heroku
- Host: GitHub
- URL: https://github.com/weibeld/heroku-buildpack-graphviz
- Owner: weibeld
- License: mit
- Created: 2014-05-01T17:18:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-08-20T07:47:27.000Z (over 2 years ago)
- Last Synced: 2023-09-10T22:50:45.016Z (over 1 year ago)
- Topics: buildpack, graphviz, heroku, heroku-buildpack
- Language: Shell
- Size: 44.9 KB
- Stars: 18
- Watchers: 3
- Forks: 40
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Heroku Buildpack: Graphviz
Install [Graphviz](http://www.graphviz.org/) 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):
- [Heroku-22](https://devcenter.heroku.com/articles/heroku-22-stack) → [Graphviz 2.42.2](https://packages.ubuntu.com/jammy/graphviz)
- [Heroku-20](https://devcenter.heroku.com/articles/heroku-20-stack) → [Graphviz 2.42.2](https://packages.ubuntu.com/focal/graphviz)
- [Heroku-18](https://devcenter.heroku.com/articles/heroku-18-stack) → [Graphviz 2.40.1](https://packages.ubuntu.com/bionic/graphviz)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:
```bash
heroku buildpacks:add https://github.com/weibeld/heroku-buildpack-graphviz
```For setting the buildpack as the only buildpack, use:
```bash
heroku buildpacks:set https://github.com/weibeld/heroku-buildpack-graphviz
```You can verify that the buildpack has been added with:
```bash
heroku buildpacks
```## Verify
After deploying your application with the buildpack at least once, you can verify the installation of Graphviz with:
```bash
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](DEVELOPMENT.md).
## License
Licensed under the MIT License. See [LICENSE.md](LICENSE.md) file.