The boilerplate uses the python framework flask to run the webinterface and to generate the HTML of the book. To generate the PDF it uses the javascript library pagedjs together with the chromium webbrowser in headless mode.
The boilerplate uses the python framework flask to run the webinterface and to generate the HTML of the book. To generate the PDF it uses the javascript library pagedjs together with the chromium webbrowser in headless mode.
@ -22,6 +22,37 @@ Then install [pagedjs-cli](https://gitlab.coko.foundation/pagedjs/pagedjs-cli),
`npm install -g pagedjs-cli`
`npm install -g pagedjs-cli`
___ in case pagedjs-cli does not show up, follow these instructions:
check the version of node (this should be: v16.17.0)
'$ node --version'
check if nvm is installed
'$ nvm'
if nvm does not show up, install nvm with the following command: