Ruby
Switch branches/tags
Nothing to show
Latest commit 6e26ee5 Jun 22, 2015 @danquinney danquinney Update README.md
Permalink
Failed to load latest commit information.
bin add gemspec Feb 28, 2011
lib add capistrano 3 recipe Jun 22, 2015
LICENSE license and readme Apr 10, 2012
README.md Update README.md Jun 22, 2015
Rakefile update rakefile Feb 28, 2011
codebase4.gemspec bump gem version to 1.0.16 Apr 10, 2012

README.md

Codebase Gem

Install & Configure the Codebase RubyGem

  1. Install the gem on your computer

     $ gem install codebase4
    
  2. Configure the Gem to include your access token which will enable you to log deployments. YOUR_ACCOUNT_DOMAIN is the domain you use to access your Codebase account and YOUR_ACCESS_TOKEN can be found on the Deployments page of a repository.

     $ codebase token YOUR_ACCOUNT_DOMAIN YOUR_ACCESS_TOKEN
    
  3. Run a test to see if your token has been accepted fully

     $ codebase test YOUR_ACCOUNT_DOMAIN
    

Configure Capistrano

  1. In order to automatically track deployments, you just need to include the Codebase recipes in your Capfile - these are provided by the gem you have already installed.

    Capistrano 2

     require 'codebase/recipes'
    

    Capistrano 3

     require 'codebase/capistrano3'