Skip to content
yawetse edited this page Oct 29, 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 pm2 - npm install pm2 -g --unsafe-perm
  4. start as a service: pm2 startup ubuntu
  5. install periodic npm install periodicjs
  6. change cluster mode to fork mode: nano /content/config/process/development.json
  7. install nginx
  8. updated config default to proxy node port 8786
  9. up the limit on open files: https://rtcamp.com/tutorials/linux/increase-open-files-limit/

nginx conf: