-
This doc should be updated so that installation is more automatic.
-
Create a new openshift service... This involved me running something like:
rhc create-app pdfdoc python-3.3
- Copy the static directory to:
$OPENSHIFT_DATA_DIR/static/
- 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
- 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/
- git push your code up to openshift, and enjoy!