Home

jeroenr edited this page May 10, 2012 · 6 revisions
Clone this wiki locally

Welcome to the deb_deploy wiki!

Installation

 sudo gem install deb_deploy`

Installing from source

 git clone git@github.com:jeroenr/deb_deploy.git
 rake gem:build
 sudo gem install deb_deploy-<version>.gem`

To go back to the non-dev version

 sudo gem install deb_deploy

Usage

  1. Include the deb_deploy configuration in your Capfile

      require 'deb_deploy'
    
      # deb deploy config
      set :debian_package_manager, 'apt'
    
  2. Bootstrap environment (first time only)

      cap deb:bootstrap
    
  3. Deploy your debian packages!

      cap deb:deploy
    
  4. If you get tired of deploying, teardown the environment

      cap deb:teardown
    

Advanced

Only deploy packages matching a certain pattern:

 cap deb:deploy -s debian_filter=*awesome_package*,*cool_package*