News Feed
Sections




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

Wojciech Sznapka's Blog:
Deploying Symfony2 applications with Ant
April 23, 2012 @ 10:54:04

In this new post Wojciech Sznapka shows you how to can set up an Apache Ant deployment for a basic Symfony2 application - including installation of vendor packages and assets.

When you have plenty of Symfony2 applications and you need to deploy them from time to time, you are probably sick of thinking about every activity you need to do for every deploy. Often people use some build scripts, which are hard to maintain and tends to be unreadable. I wanted to automate it as much as it possible and I've choosen Ant, to help me out.

An example build.xml file is included in the post that shows how to:

  • Pull the current code from git
  • Install vendor packages
  • Fix permissions for the log and cache directories
  • Clean up the cache
  • Dump/install any additional assets
0 comments voice your opinion now!
symfony2 application deployment apache ant


blog comments powered by Disqus

Similar Posts

PHP.net: PHP 5.4.3 and PHP 5.3.13 Released!

Juozas Kaziukenas' Blog: First Annual WinPHP Challenge

Cyberlot\'s Blog: Using scalability to improve your PHP applications MySQL security Part 2

Chris Hartjes' Blog: Book Review -- CakePHP 1.3 Application Development Cookbook

Job Posting: RealPage Seeks Senior Application Developer (Carrollton, TX)


Community Events





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


deployment series community library zendserver symfony release introduction unittest interview laravel podcast voicesoftheelephpant framework language bugfix install api opinion package

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