Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
README.md
make.sh

README.md

heroku-buildpack-mapnik

I am a Heroku buildpack that installs Protocol Buffers). I was built by stripping down heroku-buildpack-mapnik

When used with heroku-buildpack-multi, I enable subsequent buildpacks / steps to link to these libraries. (You'll need to use the build-env branch of @mojodna's fork for the build environment (CPATH, LIBRARY_PATH, etc.) to be set correctly.)

Note: Python bindings are not currently included.

When creating a new Heroku app:

heroku apps:create -b https://github.com/mojodna/heroku-buildpack-multi.git#build-env

cat << EOF > .buildpacks
https://github.com/hfwang/heroku-buildpack-protobuf.git
https://github.com/heroku/heroku-buildpack-nodejs.git
EOF

git push heroku master

When modifying an existing Heroku app:

heroku config:set BUILDPACK_URL=https://github.com/mojodna/heroku-buildpack-multi.git#build-env

cat << EOF > .buildpacks
https://github.com/hfwang/heroku-buildpack-protobuf.git
https://github.com/heroku/heroku-buildpack-nodejs.git
EOF

git push heroku master

Building

You can build the protobuf lib by taking a look at make.sh, the comment at the top explains how to build via anvil (the heroku build service). When executed successfully, anvil will print a URL where the built binaries will be available from.

heroku-buildpack-protobuf

You can’t perform that action at this time.