Streams of thought by...

This is the (tumble) log by Innerfusion, I'll post various things about code, design, politics, or whatever is interesting at the moment.

10/21/2010
12:23am
Go back home
Comments (View)

Introducing Bam : A simple deployment utility

As a thought about the post that I wrote the other day. I figured why not just turn it into a gem? This would be a good excuse for me to write my first command line gem and also learn all the intricacies involved with it. So without further ado, here it is: bam the easiest, most fastest way to deploy your project! It’s super simple to get going and use too!

Installation

  gem install bam # => you might need sudo here

Usage

  cd into/your/project/root
  bamify
  # it should generate a deploy.bam file, go ahead and open it up and update it
  # do some work on your project
  bam

That’s it! No DSL to learn, a minimal amount of ceremony involved with setting it up, and best of all, the deploy file just involves setting 2 variables at the minimum. Now you to can deploy your recipes, er, I mean your site or project the Emeril Lagasse style with BAM! There’s also some variables to allow you to do some pre deployment tasks and post deployment tasks that are limited to running commands locally, but most of the time I don’t need them and honestly if it gets more complicated than that, just do yourself a favor and use capistrano.

Ok enough talk, show me already!

Alright here’s a basic demo of how it works:

Get the source at http://github.com/vanntastic/bam if you want to fork it. Here’s a quick video of Emeril reminding you how fast and simple your deployments can be:

Posted in: ruby gems deployment rsync bam

Notes

  1. innerfusion posted this