This is a component of our Heroku Button support.
Heroku doesn't normally deal much with binaries, so the best way for us to provision Vector onto a machine is to have it in a buildpack which can fetch and provision the binary to a known location, as well as do any prefetching of, say, a configuration from a URL.
Of course! The easiest way is to head over to the Vector readme's deploy section and follow along.
Otherwise, if you're feeling adventurous, maybe try adding this buildpack to your app.json
? We'd love PRs to improve this feature.
If you just want to have a vector
command available in your Heroku deployment for some other reason, well, we suggest you just curl -O ${URL}
it in your build scripts!