Reputation: 1472
I'm working with symfony2 in order to learn this framework.
One thing I've never read anywehere is: how to move your project from develpment env to the prodution env? I mean, what is the "to do list" in order to have my symfony website published correctly (assuming that my prod environment is suitable to the symfony2 requirements)?
Upvotes: 0
Views: 208
Reputation: 1389
There's a couple different ways to deploy a symfony2 application. Take a look at this entry in the Symfony Cookbook: How to deploy a Symfony2 application.
After the code is copied to the server basic post-deployment steps may include:
There may be lots of other things that you need to do, depending on your setup:
Personally, I usually use Capifony. I have it copy the application to the server with the third-party libaries. It then performs the post-deployment tasks I need it to do: clearing the cache, dump web assets, and execute database migrations
Upvotes: 3
Reputation: 10085
There are a few methods to this:
For deployment basics and post-deployment steps, see the official documentation: How to deploy a Symfony2 application
Upvotes: 1