Skip to content

Commit 70b7d41

Browse files
j00sephwouterj
authored andcommitted
Update deployment-tools.rst
Added"Check requirements as A in Common Post-Deployment Tasks
1 parent 7806aa7 commit 70b7d41

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

cookbook/deployment/tools.rst

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,24 @@ Common Post-Deployment Tasks
7171
After deploying your actual source code, there are a number of common things
7272
you'll need to do:
7373

74-
A) Configure your ``app/config/parameters.yml`` File
74+
A) Check Requirements.
75+
~~~~~~~~~~~~~~~~~~~~~~
76+
77+
Check if your server meets requirements.
78+
Run command:
79+
80+
.. code-block:: bash
81+
82+
$ php app/check.php
83+
84+
B) Configure your ``app/config/parameters.yml`` File
7585
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7686

7787
This file should be customized on each system. The method you use to
7888
deploy your source code should *not* deploy this file. Instead, you should
7989
set it up manually (or via some build process) on your server(s).
8090

81-
B) Update your Vendors
91+
C) Update your Vendors
8292
~~~~~~~~~~~~~~~~~~~~~~
8393

8494
Your vendors can be updated before transferring your source code (i.e.
@@ -97,7 +107,7 @@ as you normally do:
97107
ensures that development packages are not installed in the production
98108
environment.
99109

100-
C) Clear your Symfony Cache
110+
D) Clear your Symfony Cache
101111
~~~~~~~~~~~~~~~~~~~~~~~~~~~
102112

103113
Make sure you clear (and warm-up) your Symfony cache:
@@ -106,7 +116,7 @@ Make sure you clear (and warm-up) your Symfony cache:
106116
107117
$ php app/console cache:clear --env=prod --no-debug
108118
109-
D) Dump your Assetic Assets
119+
E) Dump your Assetic Assets
110120
~~~~~~~~~~~~~~~~~~~~~~~~~~~
111121

112122
If you're using Assetic, you'll also want to dump your assets:
@@ -115,7 +125,7 @@ If you're using Assetic, you'll also want to dump your assets:
115125
116126
$ php app/console assetic:dump --env=prod --no-debug
117127
118-
E) Other Things!
128+
F) Other Things!
119129
~~~~~~~~~~~~~~~~
120130

121131
There may be lots of other things that you need to do, depending on your

0 commit comments

Comments
 (0)