Capistrano::Tarball
Note: this plugin works only with Capistrano 3.
About
Capistrano Tarball plugin allows the deployment of your apps via a tarball. This plugin does the following for you:
- Packages your source code / compiled binary into a tarball.
- Uploads the tarball to remote servers.
- Extract the tarball to
release_path
Installation
Put the following in your application's Gemfile:
group :development do
gem 'capistrano', '~> 3.2.0'
gem 'capistrano-tarball', require: false
end
Then:
$ bundle install
Usage
Put the following in your application's Capfile:
require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/tarball/load'
Then set the scm to tarball in your deploy.rb:
# Yeah, I know... tarball is not really a SCM, but trust me...
set :scm, :tarball
Configurations
Please see: defaults.rb
Contributing
- Fork it ( https://github.com/[my-github-username]/capistrano-binary/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request