News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jeremy Cook:
Continuous Deployment with Symfony2, Jenkins and Capifony
November 14, 2012 @ 13:35:08

Jeremy Cook has a recent post to his site showing how he set up Capifony and Jenkins to do continuous deployment with a Symfony2-based application (including a full recipe for the deployment).

It seems that many people talk about setting up a continuous deployment system but few actually take the plunge and make it a reality. I've recently set up continuous deployment for an API project at work and thought I would blog about how I got it all to work.

He starts by laying out the plan for the system and what it's intended to do (an excellent first step). This is followed by details on Capifony and what kind of advantages it offers for deployment. He shares the full contents of his "deploy.rb" file that includes the actual steps for the deployment including a git checkout, a Composer install, warming up the Symfony cache and restarting Apache. He also includes how they have it set up with Jenkins, having the build triggered when the main project's build completes successfully.

0 comments voice your opinion now!
continuous deployment symfony2 jenkins capifony tutorial


ServerGrove Blog:
Deploying Symfony2 Projects on Shared Hosting with Capifony
September 08, 2011 @ 11:15:18

The ServerGrove blog, a hosting provider whose services include shared hosting, has posted a guide to help you deploy to shared hosting with Capifony, a Symfony-based tool for use with Capistrano.

This article is meant to help you configure and deploy your projects developed with Symfony2 into a Shared Hosting environment, so if you need to deploy using capifony on a VPS, please read this article.

You'll need ssh access to the server to get things set up for the deployment as well as a local environment where you can install Ruby and Ruby Gems (their platform for the example is OSX). They help you get those installed and generate a key for use with the deployment. Once this key is copied over to the remote system, you can then set up the config to use the password-less connection and to deploy from either a local repository or a remote location (like github).

0 comments voice your opinion now!
shared hosting symfony2 deployment capifony tutorial


Knp Labs:
Deploy Your Symfony Application Painlessly with Capifony
June 22, 2011 @ 12:03:32

On the Knp Labs site there's a recent post showing you how to use Capifony (a tool designed for use with Symfony projects) to deploy your Symfony-based applications in a few easy steps.

Deploying should be an active part of your development process, but not something that gives you a headache. If deploying your entire application takes more than one command or doesn't put a smile on your face, you should keep reading. NOTE: This post will specifically cover how to deploy your Symfony2 application, but the library used here - capifony - is just as useful for deploying a symfony 1.x application.

He walks you through the simple five step process of installing and configuring the capifony tool to pull from a remote git repository, set up some shared directories and update the vendor libraries on deployment. A few more changes for the initial deployment and you'll be ready to call "cap deploy" any time you'd like to push the latest version of your application. He also points out that with version 2.0.9 and above of capifony, Doctrine database migrations are also supported. For more information on capifony, see the project's website.

0 comments voice your opinion now!
capifony symfony deployment capistrano ruby tutorial


ServerGrove Blog:
Symfony + Git + Capistrano = Capifony
July 15, 2010 @ 13:38:26

On the ServerGrove blog there's a recent post looking at an interesting combination of technologies that could allow you to deploy your Symfony applications easier and more quickly - Capifony (Symfony+Git+Capistrano).

Deploying applications to production/live servers is always a delicate task. The whole process needs to be quick to minimize downtime. Automating the deployment process helps running repetitive tasks minimizing the possibility human error. It is also a good idea to have a proven and easy way to rollback to a previous version if something goes wrong. Capistrano and more specifically Capifony can help with the automatic deployment of symfony projects.

They start by introducing Capistrano - what it can do and what its for - before getting into some of the details like its commands and how Capifony fits in. They walk you through a sample project to give you an idea of how things are structured and the steps you'd need to take to get your project rolling.

0 comments voice your opinion now!
symfony git capistrany capifony ruby deployment



Community Events





Don't see your event here?
Let us know!


interview developer release code threedevsandamaybe introduction wordpress unittest install framework configure laravel testing podcast list refactor language community opinion series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework