https://github.com/namusyaka/unicorn-padrino
Adds Unicorn as an adapter to your `padrino start` command.
https://github.com/namusyaka/unicorn-padrino
Last synced: about 1 month ago
JSON representation
Adds Unicorn as an adapter to your `padrino start` command.
- Host: GitHub
- URL: https://github.com/namusyaka/unicorn-padrino
- Owner: namusyaka
- License: mit
- Created: 2014-05-22T08:13:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-23T04:04:37.000Z (almost 11 years ago)
- Last Synced: 2025-03-25T12:41:19.772Z (about 2 months ago)
- Language: Ruby
- Size: 129 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Unicorn::Padrino
Adds Unicorn as an adapter to your padrino start command.
## Installation
Add this line to your application's Gemfile:
gem 'unicorn-padrino'
And then execute:
$ bundle
Or install it yourself as:
$ gem install unicorn-padrino
## Usage
### Basic usage
`padrino s` or `padrino s -a unicorn`
### Daemonize
If you want to daemonize the server, you should add `-d` option.
`padrino s -d`
### Configuration
`config/unicorn.rb` and `config/{development,production,test}/unicorn.rb` are automatically loaded.
Example)
```ruby
# config/unicorn.rb
listen "10146"
pid "unicorn.pid"
```## Contributing
1. Fork it ( https://github.com/namusyaka/unicorn-padrino/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request