Skip to content

how to build a Pdf #36

Open
Open
@legendero

Description

i've spent more time than i'd like to admit trying to build one, and finally did successfully, and here is how to do it on osx:

  • install gitbook by running npm install gitbook-cli -g
  • download this project and extract it
  • inside it run 'gitbook install'
  • download Calibre application https://calibre-ebook.com/download
  • move the calibre.app to your Applications folder
  • create a symbolic link sudo ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin
  • if its still gives an error after creating a symbolic link you can add it to your PATH to fix it export PATH=$PATH:/Applications/calibre.app/Contents/MacOS
  • now it should work, inside the directory run gitbook pdf

i think thats about it, good luck.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions