Hi,

I'm working on a Rails project that I deploy using the basic
remote_cache strategy. I push to a bare git repo in my home folder on
the server, and then `cap deploy` checks out the latest code from the
repo, links it, and restarts Passenger.

This works well, but I have a new requirement: I want my designer to
be able to deploy changes. How do folks set this up? My designer has
ssh access to the server. Do I need to move the git repo out of my
home folder to somewhere we both have write access to? Or can I simply
give him write access to the git repo? But then he would need to
change his deploy.rb in order to have Capistrano log in to the server
as his user. And then would the checkout have the right ownership/
permissions?

Or do we need to set up a special user on the server for Capistrano
deployments? Then put the git repo in that user's home, and have the
application run as that user?

I'm sure this is a fairly common scenario. I'm just looking for how
people approach this.

Thanks for any advice,
Alex

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to