2012年4月16日星期一

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox


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.

没有评论:

发表评论