Author: catholicon
Date: Thu Apr 14 07:50:29 2016
New Revision: 1739032

URL: http://svn.apache.org/viewvc?rev=1739032&view=rev
Log:
OAK-4182: Document read only mode for documentMK of oak-run console

Modified:
    jackrabbit/oak/trunk/oak-run/README.md

Modified: jackrabbit/oak/trunk/oak-run/README.md
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/README.md?rev=1739032&r1=1739031&r2=1739032&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/README.md (original)
+++ jackrabbit/oak/trunk/oak-run/README.md Thu Apr 14 07:50:29 2016
@@ -85,6 +85,11 @@ To start the console for a DocumentMK/RD
 
     $ java -jar oak-run-*.jar --rdbjdbcuser username --rdbjdbcpasswd password 
console jdbc:...
     
+To start the console connecting to a DocumentMK repository in read-only mode, 
use either of:
+
+    $ java -jar oak-run-*.jar console --read-only mongodb://host
+    $ java -jar oak-run-*.jar console --read-only --rdbjdbcuser username 
--rdbjdbcpasswd password console jdbc:...
+
 Console is based on [Groovy Shell](http://groovy.codehaus.org/Groovy+Shell) 
and hence one 
 can use all Groovy constructs. It also exposes the 
`org.apache.jackrabbit.oak.console.ConsoleSession`
 instance as through `session` variable. For example when using 
SegmentNodeStore you can 


Reply via email to