mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 11:52:34 +08:00
fix(contributing): Mention syncEngine.APIRoot
This commit is contained in:
parent
42f8d29a89
commit
91efdd5a8b
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue