-
Notifications
You must be signed in to change notification settings - Fork 27
1. Requirements & installation
I recommend using our Dockerfile to build the Docker container since it'll have all the tools you need, but if you want to install everything locally Open-Publisher needs the following software and tools to installed in order to work:
Jekyll requires ruby so you'll need a working Ruby installation.
Jekyll - a static site generator. For our purposes it is used to combine multiple markdown files into a single markdown file.
Pandoc - converts from many file formats to many other file formats. For our purposes, it converts our markdown file to epub and pdf.
KindleGen - Amazon's free tool to create .mobi/kindle files. For our purposes it converts epub to mobi.
LaTeX - typesetting software that can output PDF files.
docker run -v $PWD/input:/Open-Publisher/Source -it ctarwater/open-publisher rake skel
- First, make sure you've read the Requirements page.
- Git clone the Open-Publisher repo.
git clone https://github.com/chrisanthropic/Open-Publisher
- Install the required Ruby Gems. Change into the repo you just cloned and run:
bundle install --binstubs --path=vendor