Skip to content

Commit 9f34210

Browse files
jmatherweaverryan
authored andcommitted
Update cookbook/deployment-tools.rst
Added suggestions by @weaverryan at #1782 (comment)
1 parent a871012 commit 9f34210

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

cookbook/deployment-tools.rst

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
11
.. index::
22
single: Deployment Tools
33

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+
432
How to deploy a Symfony2 application
5-
====================================
33+
------------------------------------
634

735
There are several ways you can deploy a Symfony2 application.
836

@@ -78,4 +106,6 @@ Platform as a Service Providers:
78106
.. _`PagodaBox`: https://github.com/jmather/pagoda-symfony-sonata-distribution/blob/master/Boxfile
79107
.. _`Magallanes`: https://github.com/andres-montanez/Magallanes
80108
.. _`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

Comments
 (0)