Building the book on the win10 command line

1. Open the Node.js command prompt

  1. enter the following lines of code in the prompt
cd Desktop\Gregs Docs\gregt-mobile
dir

Find the name of the directory containing the book you want to build.

cd {DIRECTORY_NAME}

Then enter the following exactly

copy /y book.master.json book.json
gitbook build . website
gitbook pdf .
gitbook epub .
copy /y book.student.json book.json
gitbook build . website\student
gitbook pdf .
gitbook epub .
move *.pdf website\student
move *.epub website\student
copy /y book.master.json book.json
cd website
http-server

Then open chrome and type http://localhost:8080

results matching ""

    No results matching ""