mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
commit
18276fc2c6
1 changed files with 13 additions and 4 deletions
17
README.md
17
README.md
|
@ -211,12 +211,21 @@ If you want an easy way to manage multiple scripts at once check [tools/jungle](
|
|||
|
||||
## Capistrano deployment
|
||||
|
||||
Puma has included Capistrano [deploy script](https://github.com/puma/puma/blob/master/lib/puma/capistrano.rb), you just need require that:
|
||||
|
||||
config/deploy.rb
|
||||
Puma has support for Capistrano3 with an [external gem](https://github.com/seuros/capistrano-puma), you just need require that in Gemfile:
|
||||
|
||||
```ruby
|
||||
require 'puma/capistrano'
|
||||
gem 'capistrano3-puma'
|
||||
```
|
||||
And then execute:
|
||||
|
||||
```bash
|
||||
bundle
|
||||
```
|
||||
|
||||
Then add to Capfile
|
||||
|
||||
```ruby
|
||||
require 'capistrano/puma'
|
||||
```
|
||||
|
||||
and then
|
||||
|
|
Loading…
Add table
Reference in a new issue