Sha256: fc363300df59145a5bc278277bc94f40acc4a12b683ae13c4ddef95cb81dc752
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
Capistrano Maintenance Extension ================================= This gem simply offers the recently removed `deploy:web:disable` and `deploy:web:enable` tasks to your Capistrano deployment. Usage ----- Install the gem via rubygems: gem install capistrano-maintenance And put this line into your deploy.rb file: require 'capistrano/maintenance' That's it. Everthing works like expected. Configuration ------------- Everything should work out of the box general, but there are some additional adjustments you can make in your deploy.rb. # change the default filename from maintenance.html to disabled.html set :maintenance_basename, 'disabled' # change default directory from default of #{shared_path}/system set :maintenance_dirname, "#{shared_path}/public/system" # use local template instead of included one with capistrano-maintenance set :maintenance_template_path, 'app/views/maintenance.html' # disable the warning on how to configure your server set :maintenance_config_warning, false
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-maintenance-0.0.3 | README.md |