#!/bin/sh . ./env.sh if [ -z "$CLOUDANT_URL" ]; then echo "Cloudant URL is not defined in env.sh" exit 1 fi curl http://localhost:5984/_replicate -H "Content-Type: application/json" -d "{\"source\":\"$CLOUDANT_URL/qed\", \"target\":\"qed\"}"