This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start sync gateway if not already | |
# push pull on device1 | |
http POST localhost:8080/_replicate source="cblite-test" target="http://10.0.2.2:4984/db" continuous:=true | |
http POST localhost:8080/_replicate target="cblite-test" source="http://10.0.2.2:4984/db" continuous:=true | |
# push pull on device2 | |
http POST localhost:8081/_replicate source="cblite-test" target="http://10.0.2.2:4984/db" continuous:=true | |
http POST localhost:8081/_replicate target="cblite-test" source="http://10.0.2.2:4984/db" continuous:=true |