So ive been trying for a while to install readium cloud reader. I ran into a few problems I fixed and I thought I installed it correctly but I cant seem to get any of my unzipped or zipped epubs to work.
Here are the instructions for installation I followed:
npm install -g grunt-cli
git clone https://github.com/readium/readium-js-viewer.git
git submodule update --init --recursive
You need to run commands using npm, as grunt isn't used as a task runner for the project. You can see a list of the commands in the
scripts property of
I followed the instructions under Git Initialisation in the repo and got things up and running locally:
# replace "BRANCH_NAME" with e.g. "develop" $ git clone --recursive -b BRANCH_NAME https://github.com/readium/readium-js-viewer.git readium-js-viewer $ cd readium-js-viewer $ git submodule update --init --recursive $ git checkout BRANCH_NAME && git submodule foreach --recursive "git checkout BRANCH_NAME" $ cd readium-js/ && npm update && cd ../ # had to update as some dependencies were missing $ npm run http # launch the development server
I have no idea how to package or add content, though. It looks like the
epub_library.opds is updated somehow and books in
epub_content appear in the bookshelf.