projects
/
angular-mojolicious.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove _rev so we can load view in empty database
[angular-mojolicious.git]
/
README
diff --git
a/README
b/README
index
dd7aa13
..
0ab9326
100644
(file)
--- 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
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.
Replication is currently good only for initial import of data since it doesn't
support incremental replication and dies if data is allready present.