lib |
script |
9y CODE_OF_CONDUCT.md |
9y Gemfile |
9y Gemfile.lock |
9y LICENSE |
9y README.md |
9y Rakefile |
9y capistrano-nginx.gemspec |
capistrano-nginx support for Capistrano 3.x
Add this line to your application's Gemfile:
gem 'capistrano', '~> 3.0.0' gem 'capistrano-nginx'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-nginx
Require in Capfile to use the default task:
require 'capistrano/nginx'
The task will run after deploy:updated
as part of Capistrano's default deploy,
or can be run in isolation with cap production nginx:reload
Configurable options:
set :nginx_reload_command, '/etc/init.d/nginx reload' # default set :nginx_roles, :all # default
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)The gem is available as open source under the terms of the MIT License.