fix(contributing): Mention syncEngine.APIRoot

This commit is contained in:
Ben Gotow 2016-01-21 10:42:31 -08:00
parent 42f8d29a89
commit 91efdd5a8b

View file

@ -104,7 +104,12 @@ however, the Sync Engine is open source and you can run it yourself.
Replace `env: "production"` with `env: "local"` at the top level of the config. Replace `env: "production"` with `env: "local"` at the top level of the config.
This tells N1 to look at `localhost:5555` for the sync engine. If you've deployed This tells N1 to look at `localhost:5555` for the sync engine. If you've deployed
the sync engine elsewhere, you'll need to edit `nylas-api.coffee`. the sync engine elsewhere, add the following block beneath `env: "local"`:
```
syncEngine:
APIRoot: http://mysite.com:5555
```
Copy the JSON array of accounts returned from the Sync Engine's `/accounts` Copy the JSON array of accounts returned from the Sync Engine's `/accounts`
endpoint (ex. `http://localhost:5555/accounts`) into the config file at the endpoint (ex. `http://localhost:5555/accounts`) into the config file at the