Skip to content
yawetse edited this page Nov 10, 2014 · 12 revisions

coming soon

production setup for ubunutu

  1. install compliers on ubuntu: https://help.ubuntu.com/community/InstallingCompilers
  2. install mongodb - http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ install node https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
  3. install node - https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
  4. install pm2 - npm install pm2 -g --unsafe-perm
  5. start as a service: pm2 startup ubuntu
  6. install periodic npm install periodicjs
  7. change cluster mode to fork mode: nano /content/config/process/development.json
  8. install nginx
  9. updated config default to proxy node port 8786
  10. up the limit on open files: https://rtcamp.com/tutorials/linux/increase-open-files-limit/

nginx conf: