This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Blogs » Arnaud Lafon » Early release of AlCapON


Early release of AlCapON

Thursday 16 August 2012 5:18:46 pm

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Want to enable Capistrano for your eZ Publish installations ?

Getting pissed off with running the same commands on each of your webservers so that you can get your eZ Publish site updated ? Some of you might know Capistrano which is a great tool written in Ruby.

A few month ago, I started to work on a collection of functions & scripts dedicated to eZ Publish and now they are my best friends every time I need to push some code on a server.

Read more in this blog post and at :

Well, I'm not going to re-explain everything you can find on the documentation page, but here is a quick view on what it does.

First, what you need ?

Having ruby & rubygems installed (usually needed for non- Mac users) : apt-get install ruby rubygems


Once you've got AlCapON installed, simply run from your eZ Publish root : capezit .

It will create :

  • an extension named alcapon which contains all the configuration files you'll need to customise later
  • a Capfile which works the same way as a makefile or a Rakefile


Then, have a look at the files which were just created in extension/alcapon, read the comments and if you need help, you can have a look at the online documentation. Also, feel free to open issues on the Github project page at :

Also, you might need to set some specific sudo rules on your remote environnement since sudo is sometimes used (to set the right permissions on your var folders for instance)


  • Display all the available tasks : cap -vT
  • Run a task : cap TASKNAME
  • Setup your remote environnement : cap deploy:setup
  • Check if your remote environnement fits the requirements : cap deploy:check
  • Deploy your code : cap deploy
  • Run a command on all your remote servers : cap invoke COMMAND=date (display the date)

How does it works

Please read to get more information, this is the first topic of the documentation page.


If the capezit or cap commands are not found, then you might need to add Ruby's bin directory to your local PATH env. variable. Simply edit .bashrc or anything that is loaded with your shell and add :

 export PATH
Proudly Developed with from