Skip to content

CouchDB configuration

Yury Chernushenko edited this page Jul 25, 2014 · 8 revisions
  1. Install CouchDB
  2. Enable CORS:
export HOST=http://yury:[email protected]  
curl -X PUT $HOST/_config/httpd/enable_cors -d '"true"'  
curl -X PUT $HOST/_config/cors/origins -d '"*"'  
curl -X PUT $HOST/_config/cors/credentials -d '"true"'  
curl -X PUT $HOST/_config/cors/methods -d '"GET, PUT, POST, HEAD, DELETE"'  
curl -X PUT $HOST/_config/cors/headers -d \  
  '"accept, authorization, content-type, origin"'  
  1. CouchDB admin panel:
http://localhost:5984/_utils/
http://localhost:5984/_utils/fauxton/
Clone this wiki locally