Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build a Pdf #36

Open
legendero opened this issue Apr 24, 2017 · 0 comments
Open

how to build a Pdf #36

legendero opened this issue Apr 24, 2017 · 0 comments

Comments

@legendero
Copy link

legendero commented Apr 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant