Booktype is a web application for writing, editing, and publishing books that keeps collaboration in mind every step of the way.
Here's the promo blurb from Sourcefabric (source):
Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes. Create books on your own or with others via an easy-to-use web interface. Build a community around your content with social tools and use the reach of mobile, tablet and ebook technology to engage new audiences.
There's an open demo here.
Compared to Sourcefabric's other open projects, the documentation is disappointing: https://github.com/sourcefabric/Booktype/blob/master/INSTALL. Booktype relies on Django and either sqlite3 or postgres.
What little I know about Django I picked up from working toward a patch solution for this; I find patching appliances that are reliant on postgres quite a challenge. Keeping all this in mind: I couldn't get this build on a TKL LAPP stack or a Django appliance. I have in the past, but couldn't recreate the process.
I did have success, however, building a patch for Core 12RC that uses Apache2 and mod_wsgi.
This patch disables default apache site, and relies on sqlite3 where Postgres is recommended (but not documented).
It has a cludge of an inithook to set the superuser password and email for Booktype. I'll elaborate more very soon.
There's discussion here with a particularly helpful post if this patch were to be revised with a more elegant inithook in mind.