top | item 2959636

(no title)

Superfud | 14 years ago

Good question! The main benefit is you deploy directly from your git-server to your production server, instead of uploading from your own computer. This means a lot faster deploys, especially when your deployments are large or your internet connection is really poor (being able to make deployments quickly while on a 3G connection is awesome). whiskey_disk uses one ssh connection to your server for all work (so less time for spawning ssh connections), and the heavy traffic is not to/from your local machine.

Other benefits of the tool include putting all config files into version control, and a lot less less magic in your deployments.

discuss

order

lobster_johnson|14 years ago

Capistrano does pulls directly from the Git repo by default. It will use a single SSH connection between client and host if you have the SSH control master socket enabled.

MostAwesomeDude|14 years ago

I've gotten into the habit of just having git installed on my web server, and pulling directly from there. Is there some reason why whiskey_disk is better?

Superfud|14 years ago

Sounds like a simple solution which gets the job done. Using whiskey_disk would reduce your typing by a bit (repeatability is nice for things done all the time), but if you don't have any post-commit tasks you have to run on each deploy, stick with what you have.

Where you'd really see benefit would be when you have multiple config files (with database credentials and addresses, for instance) that vary per server and environment involved. In addition, if you need to run post-deploy actions such as building assets, or run database migrations, a tool would help you.

However, until you feel the pain of your current setup, no need to change what works :)