Update CONFIGURATION.md

This commit is contained in:
Ben Gotow 2016-05-05 09:45:20 -07:00
parent cb2913871e
commit ad706c0609

View file

@ -29,19 +29,22 @@ however, the Sync Engine is open source and you can run it yourself.
This tells N1 to look at `localhost:5555` for the sync engine. If you've deployed
the sync engine elsewhere, add the following block beneath `env: "local"`:
```
syncEngine:
APIRoot: "http://mysite.com:5555"
```javascript
"syncEngine": {
"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`
```
env: "custom"
syncEngine:
APIRoot: "http://192.168.1.100:5555"
```javascript
{
"env": "custom",
"syncEngine": {
"APIRoot": "http://192.168.1.100:5555"
},
```
Copy the JSON array of accounts returned from the Sync Engine's `/accounts`