$ docker run -dp 9000:9000 -e "MINIO_ROOT_USER=<minio_admin_username>" -e "MINIO_ROOT_PASSWORD=<minio_admin_password>" --name iisc-minio-s3-bucket minio/minio server /minioS3bucket
$ docker run -d -p 5984:5984 -e COUCHDB_USER=<couchdb_admin_username> -e COUCHDB_PASSWORD=<couchdb_admin_password> --name my-couchdb couchdb:3
$ npm i -D add-cors-to-couchdb
$ (npm bin)/add-cors-to-couchdb http://<local_ip_address>:5984 -u <admin_username> -p <admin_password>
$ curl -v -X PUT "http://<admin_username>:<admin_password>@<local_ip_address>:5984/_users"
$ export OCR_USER_NAME=<user_login_id> #should be of the form user@domain.com (ex:ocr@gmail.com)
$ curl -v -X POST -H 'Content-Type: application/json' "http://<couchdb_admin_username>:<couchdb_admin_password>@<local_ip_address>:5984/_users" --data-binary '{"_id": "org.couchdb.user:'$OCR_USER_NAME'","name": "'$OCR_USER_NAME'","roles": ["admin"],"type": "user","password":"<ocr_login_password>","bucketName":"<bucketName>","userId": "'$(echo $OCR_USER_NAME|sha1sum|awk '{print $1}')'"}'