The couchapp command line tool is written in Python and used to generate code templates in your application and to push your changes to an instance of couchdb, among other things. Here is how to get started with the CouchApp command line tool:

The Generated Application

After creating a new couchapp, you will have a project structure that looks something like this template project. The following libraries are included with your new couchapp by default:

Evently

A declarative, couchdb friendly JQuery library for writing Javascript applications

CouchDB API (jquery.couch.js)

The JQuery library included with CouchDB itself for use by the Futon admin console is used to interact with couchdb. Some limited documentation is available from Couchone.

CouchApp Loader (jquery.couch.app.js)

A utility for loading design document classes into your Javascript application

Pathbinder (jquery.pathbinder.js)

A tiny framework for triggering events based on paths in URL hash.

Mustache

A simple template framework