The Cross Platform Reader is a JavaScript library that displays e-books in the browser.
- Ruby >= 2.x
- Compass >= 0.12.x
- Node >= 0.10.x
- NPM >= 1.3.x
- Bower >= 1.2.8
Install with Ruby Version Manager - the current stable version of Ruby is 2.0.0-p195
gem install compass
The npm installer can be found here.
npm install -g bower
git clone https://git.mobcastdev.com/Website/cross-platform-reader.git
cd cross-platform-reader
npm install && bower install
Run the following command to launch a development environment to test on your machine.
grunt serve
Run the following command to generate a production version of the reader in the dist folder.
grunt reader
Run the following command to generate a production version of the demo project.
grunt demo
Run the following command to build both the reader and the demo.
grunt