I've always deployed my apps to ~/apps/myApp/current
(with Capistrano, that's why I have the current directory).
But I've seen users deploy to like /var/www/
, or even some make a directory at the root, /myapp
.
I'm wondering is there an ideal place to put my app? Or does it not matter at all.
Additionally what do you usually name your user, I'm using deploy
as my username and group, but I've seen users use rails
or just whatever the username they always use is.
Is there a rule of thumb here? I'm aware that some may see this as a subjective question, I just wanted to get a little census as to what most people do.