Sha256: 65604d9351a725e4cfa68f56911d702ab1d968df40985d2a5cedf76cf55b5bd3

Contents?: true

Size: 961 Bytes

Versions: 2

Compression:

Stored size: 961 Bytes

Contents

set :user, "fesplugas"
set :application, "demo.typuscms.com"
set :use_sudo, false
set :deploy_to, "/home/#{user}/public_html/#{application}"

set :scm, :git
set :default_run_options, { :pty => true }
set :repository, "git://github.com/fesplugas/typus.git"
set :deploy_via, :remote_cache
set :keep_releases, 2

# Override default :bundle_flags because I don't provice a Gemfile.lock.
set :bundle_flags, "--quiet"

set :domain, "demo.typuscms.com"

role :web, domain
role :app, domain
role :db, domain, :primary => true # This is where Rails migrations will run
role :db, domain

after "deploy", "deploy:cleanup"

namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "cd #{current_path}/test/fixtures/rails_app && rake db:setup RAILS_ENV=production"
    run "cd #{current_path}/test/fixtures/rails_app && touch tmp/restart.txt"
  end
  task :finalize_update do ; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typus-3.0.8 test/fixtures/rails_app/config/deploy.rb
typus-3.0.7 test/fixtures/rails_app/config/deploy.rb