Settings

Theme

Deploy a private Github repository with whiskey_disk

object.io

19 points by Superfud 15 years ago · 11 comments

Reader

damncabbage 15 years ago

Sorry if I've not understood correctly, but what is the benefit of this over, say, Capistrano? I'm a little confused.

  • SuperfudOP 15 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.

    • lobster_johnson 15 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 15 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?

      • SuperfudOP 15 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 :)

simondlr 15 years ago

I've been looking at similar solutions. I've tried using fluxflex.com, but it only seems to work for public projects. The main purpose of my site is not to have full-scale operations: just a place online to test it.

Anyone know of similar solutions?

sjs 15 years ago

Since this came up, my take on deploying from Github looks like this: https://github.com/samsonjs/ThePusher ... deploy by pushing.

circuitbreaker 15 years ago

+1 for the name. LOL!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection