The Maxwell Manager
The Maxwell Manager
This is the mongodb url including user/password/port etc.
Depends on where you want the manager to live
Which port to listen on
Not sure if this is the best way, but it certainly works:
$ meteor build .
$ tar -xzf
(or somethign similar)0.10.46
. This is easy using n
$ npm install
First make sure PM2 uses the correct node version (0.10.46
), if you have multiple node applications running, you can specify an interpreter in the production.json
file.
production.json
also make sure the path to the entry script is correct (i.e. create a build/
folder and put the bundle there)$ pm2 start production.json
You can also just start the server with node bundle/main.js
, but make sure you have your environment variables set.