Minimal example how to use CouchDB JSON exports without any server-side middleware (Ruby, Python, PHP, etc) and showcase its features.
For real „standalone applications“, called CouchApps, see the CouchDB book.
# where do you want couchdb and its deps to be installed | |
COUCHDB_PREFIX=/opt/couchdb-1.0.0 | |
# download, chmod and install | |
curl "http://dl.couchone.com/dl/20e4ab59869fc48828db075f7c000c70/couchdb-1.0.0_1-linux-x64-installer.bin" -O | |
echo "`curl http://dl.couchone.com/dl/_design/dl/_show/sha1/20e4ab59869fc48828db075f7c000c70 --silent` couchdb-1.0.0_1-linux-x64-installer.bin" | sha1sum --check - | |
chmod u+x couchdb-1.0.0_1-linux-x64-installer.bin | |
./couchdb-1.0.0_1-linux-x64-installer.bin --prefix $COUCHDB_PREFIX --mode unattended | |
# link into /etc/init.d/couchdb and setup couchdb for auto-startup |
Minimal example how to use CouchDB JSON exports without any server-side middleware (Ruby, Python, PHP, etc) and showcase its features.
For real „standalone applications“, called CouchApps, see the CouchDB book.
THIS DOCUMENT MOVED TO http://chneukirchen.github.com/rps/ | |
AND http://github.com/chneukirchen/rps | |
= Ruby Packaging Standard | |
The aim of this document is two-fold. First, to specify a common | |
structure of how a Ruby package distributed as source (that is, but | |
not limited to, development directories, version-controlled | |
repositories, .tar.gz, Gems, ...) should conform to. |