Commit graph

36 commits

Author SHA1 Message Date
Juan Tejada
b58c11605c Moves metrics into its own pkg to be able to instrument other services
- With the Metrics module inside nylas-core, and bc of our current lerna
setup, we required other modules like sequelize and redis before requiring
newrelic, thus preventing them from being properly instrumented
2016-07-14 11:20:58 -07:00
Juan Tejada
16b91ea394 Update metrics with signalfx - report # of syncing accts per host 2016-07-14 10:39:05 -07:00
Ben Gotow
b43b623ca6 Expand promise utils 2016-07-13 17:22:02 -07:00
Juan Tejada
ab9c01a249 Remove bluebird
- Implement `each` and `promisifyAll` + other bluebird fns
2016-07-13 16:35:22 -07:00
Juan Tejada
7f72ab7f14 Add loggly logging service to test it out
- Adds env to all logs, cleans up code a bit
2016-07-13 11:58:46 -07:00
Ben Gotow
9d7343eb91 Fix UTF7 reference - prod will not use ssh 2016-07-12 16:24:03 -07:00
Ben Gotow
8b1e9564cf Fix UTF7 support — module didn’t support Node6 2016-07-12 16:11:29 -07:00
Juan Tejada
039648bae8 Add bunyan-prettystream to regular dependencies 2016-07-11 17:04:30 -07:00
Juan Tejada
f8b8dfb87f Revert to running pm2 in no-daemon mode in dev
- Add a stream for pretty logging in dev mode
2016-07-11 16:40:48 -07:00
Juan Tejada
d4cd2510db Fix pm2 run scripts 2016-07-11 15:46:52 -07:00
Halla Moore
bc10ff453e Change stop script to use pm2 stop command instead of delete 2016-07-11 15:06:36 -07:00
Evan Morikawa
84815ce2fa Add file watching to restart server 2016-07-11 12:00:20 -07:00
Evan Morikawa
c0d7902f9f Add npm run restart 2016-07-11 11:49:11 -07:00
Juan Tejada
ff334e169c Make npm start log output logs too 2016-07-11 11:43:51 -07:00
Juan Tejada
f648016c62 Lock logger versions 2016-07-11 11:28:53 -07:00
Juan Tejada
dce872fac8 Adds bunyan for json logging on every package!
- Bunyan logs json output, and added a stream to send our logs to
cloudwatch
- Replaces /all/ instances of console.log. Turned eslint rule back on,
so we don't use console.log ever again.
- Added npm scripts to view pretty logs
2016-07-08 17:30:24 -07:00
Evan Morikawa
1ff61beec9 package json fixed 2016-07-07 16:08:19 -07:00
Ben Gotow
0bfa8023f2 Merge branch 'master' of ssh://github.com/nylas/k2
Conflicts:
	Dockerfile
2016-07-07 15:27:56 -07:00
Ben Gotow
63f66fb7e7 Switch to PM2 for dev + prod 2016-07-07 15:25:45 -07:00
Evan Morikawa
7a45506271 Update package.json to include lerna in main dependencies 2016-07-07 13:42:44 -07:00
Evan Morikawa
dfb3935969 Update package.json. Remove Procfile 2016-07-07 13:32:54 -07:00
Evan Morikawa
ecb97fa437 Revert "Remove sqlite"
This reverts commit f14443a83e.
2016-07-07 12:10:17 -07:00
Evan Morikawa
f14443a83e Remove sqlite 2016-07-07 12:10:01 -07:00
Ben Gotow
822b8e54e6 Allow usage with mysql in addition to SQLite 2016-07-07 11:37:55 -07:00
Evan Morikawa
be277b8004 Add dockerfile 2016-07-06 15:30:35 -07:00
Evan Morikawa
af9d5da17c Revert "Start just nylas-api"
This reverts commit 91d8cfa6c0b8fe4c6df007e095ca4af07e3fd3ef.
2016-07-06 13:51:17 -07:00
Evan Morikawa
5d2c52df41 Start just nylas-api 2016-07-06 13:51:17 -07:00
Ben Gotow
c9c52fae1b Stop sqlite errors - guess N1 version didn't support Node 6 2016-06-30 00:29:46 -07:00
Ben Gotow
5a6daf9556 Stop sqlite from waiting 1sec to retry table locks 2016-06-30 00:19:57 -07:00
Evan Morikawa
d5d019f9d9 Plain npm install 2016-06-22 14:53:23 -07:00
Evan Morikawa
71167328dd Update readme 2016-06-22 14:49:36 -07:00
Evan Morikawa
18f2925b43 Convert to monorepo 2016-06-22 14:41:32 -07:00
Evan Morikawa
54599a21c0 Ignore storage folder 2016-06-22 12:19:17 -07:00
Juan Tejada
c3ed7cbdef Adds message parsing module + other updates
- Adds an order for the message processing pipeline to ensure that
parsing occurs first
- Adds JSONARRAYType
- Other misc updates
2016-06-22 11:00:35 -07:00
Evan Morikawa
02fbd6e625 Add core as package dependency 2016-06-21 17:13:48 -07:00
Evan Morikawa
7602620742 Add Procfile and heroku readiness 2016-06-21 17:11:31 -07:00