Sha256: 6b1bcffb2338a4ce8e93bd6f24cfdc2248d9394dd24569e3c5ebf5e13c0e6e18
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
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 on known version control directory names # Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` role :web, "pastie.org" # Your HTTP server, Apache/etc role :app, "pastie.org" # This may be the same as your `Web` server role :db, "pastie.org", :primary => true # This is where Rails migrations will run role :db, "pastie.org" # if you want to clean up old releases on each deploy uncomment this: # after "deploy:restart", "deploy:cleanup" # if you're still using the script/reaper helper you will need # these http://github.com/rails/irs_process_scripts # If you are using Passenger mod_rails uncomment this: namespace :deploy do task :start do ; end # task :stop do ; end # task :restart, :roles => :app, :except => { :no_release => true } do # run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprinkle-0.7.2 | config/deploy.rb |
sprinkle-0.7.1.1 | config/deploy.rb |