document master-slave setup
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 May 2010 20:51:37 +0000 (22:51 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 May 2010 20:51:37 +0000 (22:51 +0200)
README

diff --git a/README b/README
index 3745ca1..f0f10f3 100644 (file)
--- a/README
+++ b/README
@@ -14,3 +14,12 @@ Start with:
 
   LANG=hr_HR.utf8 ./script/mojo_facets daemon --reload
 
+
+Data replication:
+
+  # master
+  ./script/mojo_facets daemon --listen 'http://*:4444' --reload
+
+  # slave
+  MASTER=http://localhost:4444 ./script/mojo_facets daemon --reload
+