Capistrano::Spree
Spree Commerce specific tasks for Capistrano 3.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-spree', '~> 1.0.0'
And then execute:
$ bundle
Add this line to your Capfile
:
require 'capistrano/spree'
If you use RVM on the server, also add:
gem 'capistrano-rvm'
Included Tasks
symlink of public/spree
directory
This is enabled by default.
deface precompile
You have to disable deface on your production.rb
:
config.deface.enabled = false
and then add the task to your deploy.rb
:
after 'deploy:updated', 'deface:precompile'
Contributing
- Fork it
- 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 new Pull Request