Where to deploy node.js apps on a Linux server?
I use https://github.com/visionmedia/deploy to deploy my apps. It will create a /var/www/productname directory. Inside that directory you have source, current and shared. The shared directory has the log and pid files. I found that a good directory structure so that’s what I am using for all my projects.