Sha256: 7e729b091b35d4071608d7d48d5b5551b7b45de1185928fc4e9ef942503750e6
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
set :branch, 'master' set :rails_env, 'production' set :migrate_env, 'production' set :server_address, "www.<%= @application_name %>.com.au" server "www.<%= @application_name %>.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=production" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pixelforce_cms-2.6 | lib/generators/pixelforce_cms/templates/production.rb |
pixelforce_cms-2.5 | lib/generators/pixelforce_cms/templates/production.rb |