Skip to content

Running on Windows

Nemo edited this page Nov 13, 2020 · 6 revisions
  1. Download and Install Docker for Windows from https://hub.docker.com/editions/community/docker-ce-desktop-windows. Click the "Get Docker" button on the page.
  2. Click Start, type PowerShell, and then click Windows PowerShell.
  3. In the black terminal window that opens up, type the following command exactly:
docker pull captn3m0/cosmere-books
docker run --rm --volume //c/:/output captn3m0/cosmere-books:latest

After the complete script runs (this might take a while), you should find all the books in the C:\.

Generating a single book.

Instead of the above command, run

docker run --rm --volume //c/:/output/ captn3m0/cosmere-books:latest [book-code]

and use the correct book code from https://github.com/captn3m0/cosmere-books/#generation. For example, to generate just the Rhythm of War ebook, run the following:

docker run --rm --volume //c/:/output/ captn3m0/cosmere-books:latest row

Books are generated in EPUB/MOBI/PDF/CBZ formats as applicable.

Clone this wiki locally