|
1 | 1 | .. index::
|
2 | 2 | single: Deployment Tools
|
3 | 3 |
|
| 4 | +Deployment Tools |
| 5 | +================ |
| 6 | + |
| 7 | +This cookbook entry will teach you the what and how of Symfony2 application deployment. |
| 8 | + |
| 9 | + |
| 10 | +What is deployment? |
| 11 | +------------------- |
| 12 | + |
| 13 | +Deploying software changes to your website is a critical step in the lifecycle of your application. |
| 14 | +How you deploy the changes can affect how others perceive the stability and quality of your website. |
| 15 | + |
| 16 | +The typical steps taken while deploying a Symfony2 application include: |
| 17 | + |
| 18 | +1. Uploading your modified code to the live server |
| 19 | +2. Updating your vendor dependencies via composer |
| 20 | +3. Running database migrations to update any changed data structures. |
| 21 | +4. Clearing (and perhaps more importantly, warming up) your cache |
| 22 | + |
| 23 | +A deployment may also include other things, such as: |
| 24 | + |
| 25 | +* Tagging a particular version of of your code as a release in your source control repository |
| 26 | +* Creating a temporary staging area to build your updated setup 'offline' |
| 27 | +* Running any tests available to ensure code and/or server stability |
| 28 | +* Removal of any unnecessary files from `web` to keep your production environment clean |
| 29 | +* Clearing of external cache systems (like `Memcached`_ or `Redis`_) |
| 30 | + |
| 31 | + |
4 | 32 | How to deploy a Symfony2 application
|
5 |
| -==================================== |
| 33 | +------------------------------------ |
6 | 34 |
|
7 | 35 | There are several ways you can deploy a Symfony2 application.
|
8 | 36 |
|
@@ -78,4 +106,6 @@ Platform as a Service Providers:
|
78 | 106 | .. _`PagodaBox`: https://github.com/jmather/pagoda-symfony-sonata-distribution/blob/master/Boxfile
|
79 | 107 | .. _`Magallanes`: https://github.com/andres-montanez/Magallanes
|
80 | 108 | .. _`bundles that add deployment features`: http://knpbundles.com/search?q=deploy
|
81 |
| -.. _`Symfony IRC channel`: http://webchat.freenode.net/?channels=symfony |
| 109 | +.. _`Symfony IRC channel`: http://webchat.freenode.net/?channels=symfony |
| 110 | +.. _`Memcached`: http://memcached.org/ |
| 111 | +.. _`Redis`: http://redis.io/ |
0 commit comments