Project

capmagento

0.0
No commit activity in last 3 years
No release in over 3 years
A set of tasks for deploying Magento projects with Capistrano 3.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 10.1

Runtime

>= 3.2.0, ~> 3.0
 Project Readme

Capmagento

This gem provides a number of tasks which are useful for deploying Magento projects with Capistrano.

Installation

rubygems must be installed on your system first.

From RubyGems.org

$ gem install capmagento

Install with Bundler (recommended)

This version use capistrano 3. To avoid conflicts, I recommend to install both capistrano and capmagento from Bundler.

Create a 'Gemfile' on the root of your project

group :development do
  gem 'capmagento', '~> 1.0.0'
end

Install the depencies

$ bundle install

Add it to the Capfile:

require 'capistrano/magento'

Use capistrano through bundle

$ bundle exec cap mage:cc

for available commands, see:

$ bundle exec cap -T

cap mage:cc                        # Clear Magento Cache
cap mage:disable                   # Disable the Magento install by creating the maintenance.flag in the web root
cap mage:enable                    # Enable the Magento stores by removing the maintenance.flag in the web root
cap mage:hwscache                  # Clear Cheetah Cache
cap mage:hwscc                     # Clear Cheetah Cache
cap mage:indexer                   # Run the Magento indexer