Files of check-in [ed034f9fa4] in the top-level directory
Sofa: Standalone CouchDB Blog
Currently supports authoring by anyone with the proper roles, and comments from anyone with a user account.
Things are moving crazy fast around here right now as I bring this stuff up to ship-shape for the CouchDB book. I'll be renaming methods and stuff (if I find the time), any API feedback will be appreciated.
You'll also need CouchDB (verion 0.11 or newer). Once you have that installed and the tests passing, you can install CouchApp and the blog software.
CouchApp makes it easy to edit application that are hosted in CouchDB, by keeping a correspondence between a set of files, and a CouchDB design document. You'll use CouchApp to install Sofa in your CouchDB instance.
sudo easy_install couchapp
CouchApp is a set of utilities for developing standalone CouchDB applications You can learn more about the CouchApp project here. Also,
easy_install has an unpleasant bug on OSX, so you might end up having to work from git source.
Setup Admin Access
If you are going to put your blog in public, you'll want to set up an Admin account (screencast).
git clone git://github.com/jchris/sofa.git cd sofa couchapp push . http://user:firstname.lastname@example.org:5984/myblogdb
Anytime you make edits to the on-disk version of Sofa, and want to see them in your browser, just run
couchapp push . http://127.0.0.1:5984/blogdb again. You probably want to setup your
.couchapprc file. You should read the CouchApp readme to learn about that.
You can customize the blog title and other stuff in the
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0