added instructions to put view using curl
[angular-mojolicious.git] / README
diff --git a/README b/README
index 8c716ea..b880463 100644 (file)
--- a/README
+++ b/README
@@ -25,6 +25,18 @@ At it's current stage it provides support for angular $resource get, query and $
 http://angularjs.org/Service:$resource
 
 
+Replication of data between instances using angular REST API can be done with:
+
+       # 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.
+
 
 Installation:
 
@@ -47,6 +59,9 @@ Angular examples available:
 - template/Cookbook - examples from wiki working against github version of angular
 - template/conferece - conference submission example using mojolicious REST API server
 
+       curl -X PUT http://localhost:5984/conference/_design/symposium \
+               -d @public/app/conference/_design/symposium
+
 
 Planned features: