setting DEMOS_COUCHDB dir correctly.