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

Rafael Dohms' Blog:
Deploying a Symfony2 and Composer app on PagodaBox
Apr 16, 2012 @ 14:33:03

Rafael Dohms has a new post sharing the results of one of his recent struggles - getting a Symfony2 application deployed to the PagodaBox service using Composer to manage the packages. In the post he details each step of the process.

I have been working on a little pet project and wanted to put it up somewhere to show to a few people how it was going. I wanted something really simple so I decided to give the PHP PaaS solutions a try. Its a very simple Symfony 2.1 based app using Composer for vendor management, so I went on a quest to see what could be done and how.

He shares the contents of his Boxfile (a special file PagodaBox uses to configure your application) with entries for writeable directories, extensions to load and the database configuration. He found that, during deployment, everything is writeable by the "build" user, so there's no worries about installing Composer dependencies.

tagged: pagodabox symfony2 composer package tutorial boxfile

Link:


Trending Topics: