mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-14 08:35:29 +08:00
Readme fixes
This commit is contained in:
parent
6fecf0e40d
commit
ab3713830c
2 changed files with 20 additions and 0 deletions
12
README.md
12
README.md
|
@ -31,4 +31,16 @@
|
|||
npm start
|
||||
```
|
||||
|
||||
We use [pm2](http://pm2.keymetrics.io/) to launch a variety of processes
|
||||
(sync, api, dashboard, processor, etc).
|
||||
|
||||
You can see the scripts that are running and their arguments in
|
||||
`/pm2-dev.yml`
|
||||
|
||||
To test to see if the basic API is up go to: `http://lvh.me:5100/ping`. You
|
||||
should see `pong`.
|
||||
|
||||
`lvh.me` is a DNS hack that redirects back to 127.0.0.1 with the added
|
||||
benefit of letting us use subdomains.
|
||||
|
||||
# Deploying
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
apps:
|
||||
- script : redis-server
|
||||
name : redis
|
||||
|
||||
|
||||
- script : packages/nylas-api/app.js
|
||||
name : api
|
||||
env :
|
||||
|
@ -10,17 +12,23 @@ apps:
|
|||
GMAIL_CLIENT_ID : "271342407743-nibas08fua1itr1utq9qjladbkv3esdm.apps.googleusercontent.com"
|
||||
GMAIL_CLIENT_SECRET : "WhmxErj-ei6vJXLocNhBbfBF"
|
||||
GMAIL_REDIRECT_URL : "http://localhost:5100/auth/gmail/oauthcallback"
|
||||
|
||||
|
||||
- script : packages/nylas-sync/app.js
|
||||
name : sync
|
||||
env :
|
||||
DB_ENCRYPTION_ALGORITHM : "aes-256-ctr"
|
||||
DB_ENCRYPTION_PASSWORD : "d6F3Efeq"
|
||||
|
||||
|
||||
- script : packages/nylas-dashboard/app.js
|
||||
name : dashboard
|
||||
env :
|
||||
PORT: 5101
|
||||
DB_ENCRYPTION_ALGORITHM : "aes-256-ctr"
|
||||
DB_ENCRYPTION_PASSWORD : "d6F3Efeq"
|
||||
|
||||
|
||||
- script : packages/nylas-message-processor/app.js
|
||||
name : processor
|
||||
env :
|
||||
|
|
Loading…
Add table
Reference in a new issue