«book publishing as easy as it should be»
easybook lets you easily publish books in various electronic formats (ePub, MOBI, PDF and HTML). It was originally designed to publish programming books, but you can use easyboook to publish any kind of book, manual or documentation website.
easybook can be installed in three different ways depending upon your needs:
- ZIP installation: best suited for users who want to try easybook features as fast and easy as possible.
- Composer installation: recommended for regular users who want to use easybook for publishing books and documentation.
- Git installation: reserved for advanced developers who want to hack and modify easybook.
Regardless the way you install it, use easybook with the book
command:
$ cd <easybook-installation-dir>
$ ./book
If the last command doesn't work, try php book
or check book
script
permissions.
- Download easybook.zip file.
- Uncompress
easybook.zip
file in any directory.
Execute the following command to install easybook and all its dependencies in 'easybook' directory:
$ php composer.phar create-project easybook/easybook easybook
This method requires that Composer is previously installed on your system. You can install it simply by executing the following command:
$ curl -s http://getcomposer.org/installer | php
// clone easybook repository
$ mkdir easybook
$ git clone http://github.com/javiereguiluz/easybook.git easybook
// download vendors and dependencies
$ cd easybook
$ php composer.phar install
This method requires that Composer is previously installed on your system. You can install it simply by executing the following command:
$ curl -s http://getcomposer.org/installer | php
easybook is fully documented at http://easybook-project.org/documentation
easybook is licensed under the MIT license.
Execute the following command to test easybook (requires PHPUnit):
$ cd <easybook-installation-dir>
$ phpunit
SensioLabs Insight | Travis CI | Scrutinizer CI |
---|---|---|
In order to generate PDF files, PrinceXML library must be installed. If you haven't installed it yet, you can download a fully-functional demo at:
http://www.princexml.com/download
In order to generate MOBI files, KindleGen library must be installed. If you haven't installed it yet, you can download it freely at Amazon:
http://amzn.to/kindlegen