From 03baa579d62d18748567c63e0cc215ffb2519cd0 Mon Sep 17 00:00:00 2001 From: Julien Chinapen Date: Sat, 27 Feb 2016 08:50:04 -0500 Subject: [PATCH 1/2] README Update Updating Contributing guidelines to make note of the `env: custom` option so that a Sync Engine in a local environment may be accessed on an alternate IP. Also APIRoot must contain quotes around the URL otherwise a config validation will be thrown. Signed-off-by: Julien Chinapen --- CONTRIBUTING.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d4386c5d3..4ad040b23 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -108,7 +108,16 @@ however, the Sync Engine is open source and you can run it yourself. ``` syncEngine: - APIRoot: http://mysite.com:5555 + APIRoot: "http://mysite.com:5555" + ``` + + NOTE: If you are using a custom network layout and your sync engine is not on + `localhost:5555`, use `env: custom` instead along with your alternate IP for the + API Root, for example `192.168.1.00:5555` + + ``` + syncEngine: + APIRoot: "http://192.168.1.100:5555" ``` Copy the JSON array of accounts returned from the Sync Engine's `/accounts` From 0039c1fc6291f0b0beca441eb01178ab1d566761 Mon Sep 17 00:00:00 2001 From: Julien Chinapen Date: Sat, 27 Feb 2016 11:40:39 -0500 Subject: [PATCH 2/2] Example Update Update code snippet to show `env: custom` Signed-off-by: Julien Chinapen --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ad040b23..4e450c839 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -116,6 +116,7 @@ however, the Sync Engine is open source and you can run it yourself. API Root, for example `192.168.1.00:5555` ``` + env: "custom" syncEngine: APIRoot: "http://192.168.1.100:5555" ```