Skip to content

openjournals/pandoc-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Pandoc Buildpack

A Heroku buildpack for pandoc.

Installation

To install this buildpack run:

$ heroku buildpacks:add https://github.com/openjournals/pandoc-buildpack.git -a [YOUR-APP-NAME]

The buildpack will be installed on the next heroku deploy.

What It Does

  • The buildpack script downloads a prebuilt debian archive from the pandoc repository.
    • If the deb archive already exists in the heroku buildpack cache, the cached version will be used instead.
  • The script then extracts the pandoc binary from this archive into /app/vendor/pandoc/bin.
  • Finally, the script adds /app/vendor/pandoc/bin to the PATH.

For details, see the script in bin/compile.

Packages

No packages published

Languages

  • Shell 100.0%