Commit Graph

9 Commits (45c0c710e0bec64bb3d1df87a283653dfcd65b46)

Author SHA1 Message Date
Berkeley Martinez edd4037a0b add defaults and message to pm2Start.js 2015-08-16 10:16:22 -07:00
Berkeley Martinez f710fa1af6 remove pm2 memory fanciness 2015-08-14 18:48:24 -07:00
Berkeley Martinez 8cfdd4c742 add environmental vars to pm2start instead of hardcoding 2015-08-13 15:42:17 -07:00
Berkeley Martinez c0eda90eb1 make production future ready
This commit does the following:

Production start should use the following command `npm run
start-producion` this first runs bower install and builds the front end
app(react). Then it will use the `pm2Start` script. This script will set
up the pm2 daemons to run loopback in cluster mode. This script also use
`production-start` script instead of the regular `server` script.

The reasons are two fold: to ensure `server` is run in es7 mode, and to
wait for handshake from DB or kill itself if no DB can be found within a
certain amount of time.
2015-07-24 22:27:52 -07:00
Berkeley Martinez 00b81f408b remove babel/register from pm2 script start
does not work
2015-07-24 22:27:52 -07:00
Berkeley Martinez c33c6c9a8f introduce es6 and babel to whole app 2015-07-23 15:49:00 -07:00
Berkeley Martinez e36dfe1dbf quick lint 2015-07-23 15:49:00 -07:00
terakilobyte b24699a43e updates pm2 startup script 2015-06-18 17:33:34 -04:00
terakilobyte 0173804e21 updates helmet policies, makes new startup script 2015-06-18 17:08:21 -04:00