Couchapp 0.4

get the source in git, then send feedback

Download Couchapp

This is a manual for installing couchapp and its dependencies.

Requirements

Install with easy_install

To install couchapp using easy_install you must make sure you have a recent version of setuptools installed (as of this writing, 0.6c6 (0.6a9 on windows) or later):

$ curl -O http://peak.telecommunity.com/dist/ez_setup.py
$ sudo python ez_setup.py -U setuptools

To install or upgrade to the latest released version of couchapp:

$ sudo easy_install -U couchapp

Install from sources

To install couchapp from source, simply use the normal procedure for installing any Python package. Since couchapp uses setuptools, all dependencies (including setuptools itself) will be automatically acquired and installed for you as appropriate.

Fetch sources

To install couchapp from source, simply use the normal procedure for installing any Python package. Since couchapp uses setuptools, all dependencies (including setuptools itself) will be automatically acquired and installed for you as appropriate.

You could download latest sources from Github Downloads or fetch them with git. Therefore we have to install git and then run :

$ git clone git clone git://github.com/couchapp/couchapp.git
A mirror is also available on Gitorious.

Installation

python setup.py install

If you’re using a git checkout, it’s recommended to use the setuptools develop command, which will simply activate couchapp directly from your source directory. This way you can do a git fetch or make changes to the source code without re-installing every time:

$ python setup.py develop

Test if couchapp is working

$ couchapp generate test
    Generating a new CouchApp in ~/couchdb/test
    

If you installed from sources, you could also run unittests, in couchapp source folder :

$ python setup.py test