Deploying symfony Applications with Capistrano

Build Status

Capistrano is an open source tool for running scripts on multiple servers. Its primary use is for easily deploying applications. While it was built specifically for deploying Rails apps, it’s pretty simple to customize it to deploy other types of applications. We’ve been working on creating a deployment “recipe” to work with symfony applications to make our job a lot easier.

Prerequisites

  • Symfony 1.4+ OR Symfony2
  • Must have SSH access to the server you are deploying to.
  • Must have Ruby and RubyGems installed on your machine (not required for deployment server)

Installing Capifony

Through RubyGems.org

sudo gem install capifony

Through GitHub

git clone git://github.com/everzet/capifony.git
cd capifony
gem build capifony.gemspec
sudo gem install capifony-{version}.gem

What's next?

Read the capifony documentation

Running the test suite

You need a set of dependencies in order to run the capifony's test suite. You can use Bundler to install these dependencies:

BUNDLE_GEMFILE=.gemfile bundle install

Then, run the tests using Rake:

BUNDLE_GEMFILE=.gemfile bundle exec rake spec

For more information, see the .travis.yml file.

Contributors

License

Capifony is released under the MIT License. See the bundled LICENSE file for details.