capistrano-typo3-cms

This is an extension for the deployment tool Capistrano. This extension facilitates the deploy of TYPO3 CMS projects.

It includeds follows additional packages:

  1. capistrano
  2. capistrano-ext
  3. railsless-deploy
  4. capistrano_colors

Build Status Gem Version Dependency Status Code Climate Coverage Status githalytics.com alpha

Installation

Install it yourself wit rubygems package manager:

gem install capistrano-typo3-cms

Need help to install? http://docs.rubygems.org/read/chapter/3 Or easer with RVM: https://rvm.io/

Usage

Configuration

Capify your project

$ cd /path/to/your/project
$ capify ./

Edit your ./Capfile to include capistrano-typo3-cms

load 'deploy' if respond_to?(:namespace)

require 'capistrano'
require 'rubygems'
require 'railsless-deploy'
require 'capistrano-typo3-cms'

load 'lib/capistrano/mysql'
load 'config/deploy' # remove this line to skip loading any of the default 

In case of using multistage create config files for every enviroment (deploy/staging.rb):

Deploy

cap <enviroment> deploy:setup
cap <enviroment> deploy

Project roadmap

Version 0.0.1

  • Documentation "Deploying with Capistrano and TYPO3 CMS
  • Resolving dependencies for PHP projects

Version 1.0.0

Additional TYPO3:CMS tasks

typo3:cms:setup
typo3:cms:cc    
typo3:cms:check
typo3:cms:data:push
typo3:cms:data:pull
typo3:cms:data:backup

Version 2.0.0

Including new package "capistrano-mysql" to manage database data.

mysql:push
mysql:pull
mysql:backup
mysql:sync <source_env> <target_env>
mysql:migrate

Version 3.0.0

CLI command support to create a new TYPO3 CMS project from the scratch.

$ typo3 init ./

Contributing

  1. Fork it
  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 new Pull Request