Sha256: 995a82c726d637300db6c27cb100bdf159cda4deba2966ce48236d1adfbe2a67

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

set :branch,      'develop'
set :rails_env,   'staging'
set :migrate_env, 'staging'

set :server_address, "<%= @application_name %>.pixelforcesystems.com.au"

server "<%= @application_name %>.pixelforcesystems.com.au", :app, :web, :db, :primary => true

# 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 "cd '/home/deploy/<%= @application_name %>/current' ; bundle exec rake db:migrate RAILS_ENV=staging"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pixelforce_cms-2.6 lib/generators/pixelforce_cms/templates/staging.rb
pixelforce_cms-2.5 lib/generators/pixelforce_cms/templates/staging.rb