Skip to content

Instantly share code, notes, and snippets.

@natevw
Created March 1, 2011 16:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natevw/849343 to your computer and use it in GitHub Desktop.
Save natevw/849343 to your computer and use it in GitHub Desktop.
Quick-and-dirty ShutterStem installation notes

To get the basic ShutterStem installed into CouchDB:

  1. Get CouchDB running (http://couchdb.apache.org/#download)
  2. 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:

  1. git clone -b master git://github.com/natevw/ShutterStem.git
  2. 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment