CouchDB::View::Server
In /etc/couchdb/couch.ini:
/etc/couchdb/couch.ini
[Couch Query Servers] # ... other view servers, like text/javascript # replace '/usr/local/bin' with the correct path on your machine text/perl=/usr/local/bin/couchdb-view-server.pl
That's it! Errors will end up in the same place as other CouchDB errors.
The rest of this document will only be of interest to people who are subclassing CouchDB::View::Server.
All these methods perform the functions described at the view server wiki page.
CouchDB::View::Document CouchDB::View
To install CouchDB::View, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CouchDB::View
CPAN shell
perl -MCPAN -e shell install CouchDB::View
For more information on module installation, please visit the detailed CPAN module installation guide.