No commit activity in last 3 years
No release in over 3 years
Pimcore plugin 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.13
~> 10.0
~> 3.0
~> 0.48

Runtime

>= 0.0.6, ~> 0.0
 Project Readme

Capistrano::Pimcore

Pimcore plugin for capistrano

Installation

Add this line to your application's Gemfile:

gem 'capistrano-pimcore'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-pimcore

Usage

Install and configure capistrano in your project. More information is on Capistrano Home Page and Capistrano GitHub

Require capistrano-pimcore in your cap file

# Capfile
require 'capistrano-pimcore'

Pimcore Specific Tasks

You can see this list by running cap -T from your shell.

cap command what it does
pimcore:cache:clear Flush Pimcore cache storage
pimcore:classmap-generator Generate class maps to improve performance
pimcore:definition:import:class Import Class definition from a JSON export
pimcore:definition:import:fieldcollection Import FieldCollection definition from a JSON export
pimcore:definition:import:objectbrick Import ObjectBrick definition from a JSON export
pimcore:deployment:classes-rebuild Rebuild Pimcore classes
pimcore:mysql-tools Optimize and warmup mysql database
pimcore:reset-password Reset Pimcore user password
pimcore:search-backend-reindex Re-indexes the backend search of pimcore
pimcore:thumbnails:image Generate Pimcore image thumbnails
pimcore:thumbnails:optimize-images Optimize Pimcore filesize of all images
pimcore:thumbnails:video Generate Pimcore video thumbnails
pimcore:update Update pimcore to the desired version/build

How work with Pimcore environments

Default environment is development. If you want to change Pimcore environment add param env as a param in CLI command, exapmle:

bundle exec cap test pimcore:cache:clear env=production

For each environment param env can be setted in config file, example:

# /config/deploy/staging.rb
set :env, 'development'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/DivanteLtd/capistrano-pimcore.