To get the basic ShutterStem installed into CouchDB:
- Get CouchDB running (http://couchdb.apache.org/#download)
- Replicate http://natevw.couchone.com/shutterstem to a database on your local CouchDB server (using http://localhost:5984/_utils/replicator.html) or
couchapp push
the source code
If you want to use import/export, you'll need to setup local helper:
git clone -b master git://github.com/natevw/ShutterStem.git
- In a JavaScript console of http://localhost:5984/database_name/_design/shutterstem/index.html run the following:
var CHECKOUT_FOLDER = "/path/to/git/cloned/repo/";
db.http('PUT', CHECKOUT_FOLDER + "_attachments/scripts/local.py", "../_config/external/shutterstem_local_helper").status === 200;
db.http('PUT', "{couch_httpd_external, handle_external_req, <<\"shutterstem_local_helper\">>}", "../_config/httpd_db_handlers/_local_shutterstem").status === 200;