From fecb20b9f98987fa87b2467a15158fc2ea121a10 Mon Sep 17 00:00:00 2001 From: Antoine Beaubien Date: Wed, 30 Oct 2024 16:25:53 -0400 Subject: [PATCH] Update running.md adding the tool `defaults` for MacOS Update running.md to had usage of the tool `defaults` for MacOS to make configuration easier. --- docs/manual/running.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/manual/running.md b/docs/manual/running.md index fd56c9c..4408e51 100644 --- a/docs/manual/running.md +++ b/docs/manual/running.md @@ -275,6 +275,12 @@ Typically this looks something like: ``` +To see this list with the Terminal, use this command: +``` +export OR_INFO="/Applications/OpenRefine.app/Contents/Info.plist" +defaults read $OR_INFO JVMOptions +``` + Add in values such as: ``` @@ -294,8 +300,14 @@ Add in values such as: -Dext.gdata.clientsecret=************************ -Dext.gdata.apikey=*************************************** +``` +If the values aren’t already there, you can add them easily with this Terminal command: +``` +export OR_INFO="/Applications/OpenRefine.app/Contents/Info.plist" +defaults write $OR_INFO JVMOptions -array-add "-Drefine.interface=192.168.0.10" ``` +This will not work if you already have the value defined, so whatch out for that.