Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Symfony2 Essentials

You're reading from   Symfony2 Essentials

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781784398767
Length 158 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Deployment strategies

When working with applications, there are often various limitations or preferences about how to handle application deployments. The most common ones are as follows:

  • Copying the files through FTP (most difficult to proceed)
  • Deploying through rsync
  • Continuous Integration Deployment
  • Deployment tools

FTP

The most unreliable and error-prone method is, of course, the FTP deployment. Not only does it take a long time, but it also does not easily allow to automate the process, and usually, does not allow to easily rollback the changes.

Before the deployment, it is good to clear the cache and empty the log folders to avoid transferring the files that are not project related. Also, ensure that you are not overwriting the parameters.yml file when redeploying the code.

All the post-deployment stuff, such as database migrations or assets management, needs to be either done on the developer machine and transferred (assets) or done manually. Multiple server deployment is very time consuming...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image