No description, website, or topics provided.
JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
README.markdown
couchdesign.gemspec

README.markdown

CouchDesign

CouchDB design document uploader

Dependencies

CouchDesign is dependent on SpiderMonkey and Ruby 1.9

Installetion

$ gem build couchdesign.gemspec

$ sudo gem install couchdesign-x.x.x.gem

Usage

$ couchdesign <file> <database> [<host>=localhost] [<port>=5984]

To force a update in case of a conflict

$ couchdesign -f <file> <database> [<host>=localhost] [<port>=5984]

To get a help text

$ couchdesign -h

CouchDesign stores a revision file containing the new revision number after an upload. The naming scheme for this file is as follows

<host>__<port>__<database>__<file>.rev