Skip to content

Instantly share code, notes, and snippets.

@rdmpage
Created October 4, 2012 15:36
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 rdmpage/3834457 to your computer and use it in GitHub Desktop.
Save rdmpage/3834457 to your computer and use it in GitHub Desktop.
Replicate local CouchDB database to Cloudant (replace
curl http://admin:password@localhost:5984/_replicate -H 'Content-Type: application/json' -d '{ "source": "afd", "target": "https://admin:password@rdmpage.cloudant.com/afd" , "proxy":"http://wwwcache.gla.ac.uk:8080"}'
replace "admin" and "password" by username and password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment