X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=README;h=0ab9326c9aefc6e4e10ab9a9d2a58a0fcbcc73d9;hb=6516a30c086321699a587e66db129f9b90f08f25;hp=dd7aa1383f1a1cbd12ec61f579b57f613b8f0322;hpb=44dbf207741b4c06928dedd0ff4ac940e21b3fb8;p=angular-mojolicious.git diff --git a/README b/README index dd7aa13..0ab9326 100644 --- a/README +++ b/README @@ -25,9 +25,14 @@ At it's current stage it provides support for angular $resource get, query and $ http://angularjs.org/Service:$resource -Server also supports replication using same API which can be triggered with +Replication of data between instances using angular REST API can be done with: - http://localhost:3000/_replicate?from=http://dpavlin.getangular.com/data/conference/ + # create local CouchDB database + curl -X PUT http://localhost:5984/test + + ./angular-replicate.pl \ + http://dpavlin.getangular.com/data/conference \ + http://localhost:3000/data/test Replication is currently good only for initial import of data since it doesn't support incremental replication and dies if data is allready present.