Wednesday, April 22, 2009

Now its easy to deploy

You lead a busy life. You don’t have the time to waste logging in and logging out of your servers all day, running tasks, installing software, keeping machines in sync, and trying to make sure it all happens correctly.

Let Capistrano do the heavy lifting for you. It is designed with repeatability in mind, letting you easily and reliably automate tasks that used to require login after login and a small army of custom shell scripts.

And if you still find it difficult then you have the Webistrano interface for the same.

1 comment:

  1. Sample Recipe for you.



    namespace :app do

    desc "copy the files from deployed folder to document root."
    task :copy_config_files, roles => [:app, :db] do
    run "yes|cp -a #{current_path}/* #{deploy_to}testing/; chown -R apache.apache #{deploy_to}testing/"
    end
    end

    after 'deploy:symlink', 'app:copy_config_files'

    ReplyDelete