Tag: Capistrano
gem install capistrano capistrano_colors
cd ~/myapp capify .
set :application, "set your application name here" set :repository, "set your repository location here" # set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based o\ n known version control directory names # Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` role :web, "your web-server here" # Your HTTP server, Apache/etc role :app, "your app-server here" # This may be the same as your `Web` ser\ ver role :db, "your primary db-server here", :primary => true # This is where Rails migrations will ru\ n role :db, "your slave db-server here"