No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Sneakers integration for Capistrano
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 3.9.0
>= 2.6
 Project Readme

Capistrano::Sneakers

Sneakers integration only for Capistrano 3

Installation

Add this line to your application's Gemfile:

gem 'capistrano-sneakers', github: 'inventionlabsSydney/capistrano-sneakers'

And then execute:

$ bundle

Usage

# Capfile
require 'capistrano/sneakers'
require 'capistrano/sneakers/monit' # optional, to require monit tasks

Configurable options, shown here with defaults:

:sneakers_default_hooks => true
:sneakers_pid => File.join(shared_path, 'tmp', 'pids', 'sneakers.pid') # ensure this path exists in production before deploying
:sneakers_env => fetch(:rack_env, fetch(:rails_env, fetch(:stage)))
:sneakers_log => File.join(shared_path, 'log', 'sneakers.log')
:sneakers_roles => :app
:sneakers_processes => 1
# sneakers monit
:sneakers_monit_conf_dir => '/etc/monit/conf.d'
:sneakers_monit_use_sudo => true
:monit_bin => '/usr/bin/monit'
:sneakers_monit_templates_path => 'config/deploy/templates'

Contributors

Contributing

  1. Fork it (https://github.com/inventionlabsSydney/capistrano-sneakers)
  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