Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.08 KB

Heroku buildpack: C

This is a Heroku buildpack for C apps. It uses Make. This is a fork from http://github.com/heroku/heroku-buildpack-c.git and is custom configured to install LibLouis from the vendor directory on a heroku application.

Setup

In your heroku application Download the liblous tarball from http://liblouis.org/downloads/

Copy the extracted contexts to your application's root directory vendor/liblouis

Create an additional directory vendor/liblous-exec and add a .gitkeep file

Add a .profile file to your root directory with export LD_LIBRARY_PATH=$HOME/vendor/liblouis-exec/lib inside

Commit your changes, and push these changes up to your heroku application

Usage

Example usage:

$ heroku buildpacks:add http://github.com/kida001/heroku-buildpack-c.git

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Configuring
-----> Compiling with Make
-----> Installing with Make