Skip to content

OpenVE/the-little-mongodb-book

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The Little MongoDB Book is a free book introducing MongoDB.

The book was written shortly after the creation of the MongoDB interactive tutorial. As such, the two can be seen as complementary.

The book was written by Karl Seguin, with Perry Neal's assistance.

If you liked this book, maybe you'll also like The Little Redis Book.

Translations

License

The book is freely distributed under the Attribution-NonCommercial 3.0 Unported license.

Formats

The book is written in Markdown and converted to PDF using Pandoc.

The TeX template makes use of Lena Herrmann's JavaScript highlighter.

Kindle and ePub format provided using Pandoc.

Generating books

Run specific Make target to get specific format:

  • make en/mongodb.pdf
  • make en/mongodb.epub
  • make en/mongodb.mobi

Pandoc uses TeX as a buffer tool to generate PDF files, so you need to have TeX installed (packages texlive-bin, texlive-core, texlive-latexextra would be enough).

Title Image

A PSD of the title image is included. The font used is Comfortaa.

Translations

po4a is used to manage translations. Please ensure you have it installed before trying to generate translated output or before translating the book.

Adding a new translation

Adding a new translation is as easy as running:

  • make LANG=<xx> createpo

Where <xx> is the two letters language code for the new translation. It will generate a .po file in locale/xx which you can then translate using your favorite PO editor.

Updating translations

Update existant translations by running:

  • make LANG=<xx> updatepo

Creating translated output documents

To create a translated version of the book, you will need to run:

  • make <xx>/mongodb.<fmt>

Where is the desired output format as described in [Formats][].