Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 1.5 KB

INSTALL.md

File metadata and controls

52 lines (45 loc) · 1.5 KB

INSTALL

  1. This doc should be updated so that installation is more automatic.

  2. Create a new openshift service... This involved me running something like:

rhc create-app pdfdoc python-3.3
  1. Copy the static directory to:
$OPENSHIFT_DATA_DIR/static/
  1. Install pandoc... I don't know what the elegant way is, so instead I copied all the .so files that pandoc needs from a CentOS 6.5 installation into:
$OPENSHIFT_DATA_DIR/static/pandoc/bin/so/

I copied the data directory into:

$OPENSHIFT_DATA_DIR/static/pandoc/bin/data/

I copied the pandoc binary to:

$OPENSHIFT_DATA_DIR/static/pandoc/bin/pandoc.bin

I installed a pandoc bash script at:

$OPENSHIFT_DATA_DIR/static/pandoc/bin/pandoc

It is included in this source repository. I would have rather installed a single statically compiled pandoc binary, but it seems to be quite impossible at this time. If you can help with this, please do: jgm/pandoc#11

  1. Install latex from the net installer: https://www.tug.org/texlive/acquire-netinstall.html You'll need to run:
./ti-install

I used a medium size install, and removed the font doc options... Make sure to install into:

$OPENSHIFT_DATA_DIR/latex/
  1. git push your code up to openshift, and enjoy!