Last change
on this file since 511 was
497,
checked in by hendrikvanantwerpen, 11 years ago
|
- Better names for db backup and sync scripts.
- Added SurveyRun? deletion in UI and prevent on server when a run has
replies.
|
-
Property svn:executable set to
*
|
File size:
253 bytes
|
Rev | Line | |
---|
[497] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | . ./env.sh |
---|
| 4 | |
---|
| 5 | if [ -z "$CLOUDANT_URL" ]; then |
---|
| 6 | echo "Cloudant URL is not defined in env.sh" |
---|
| 7 | exit 1 |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | curl http://localhost:5984/_replicate -H "Content-Type: application/json" -d "{\"target\":\"$CLOUDANT_URL/qed\", \"source\":\"qed\"}" |
---|
Note: See
TracBrowser
for help on using the repository browser.