set up CouchDB