@@ -71,14 +71,23 @@ Common Post-Deployment Tasks
71
71
After deploying your actual source code, there are a number of common things
72
72
you'll need to do:
73
73
74
- A) Configure your ``app/config/parameters.yml `` File
74
+ A) Check Requirements
75
+ ~~~~~~~~~~~~~~~~~~~~~
76
+
77
+ Check if your server meets the requirements by running:
78
+
79
+ .. code-block :: bash
80
+
81
+ $ php app/check.php
82
+
83
+ B) Configure your ``app/config/parameters.yml `` File
75
84
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
85
77
86
This file should be customized on each system. The method you use to
78
87
deploy your source code should *not * deploy this file. Instead, you should
79
88
set it up manually (or via some build process) on your server(s).
80
89
81
- B ) Update your Vendors
90
+ C ) Update your Vendors
82
91
~~~~~~~~~~~~~~~~~~~~~~
83
92
84
93
Your vendors can be updated before transferring your source code (i.e.
@@ -97,7 +106,7 @@ as you normally do:
97
106
ensures that development packages are not installed in the production
98
107
environment.
99
108
100
- C ) Clear your Symfony Cache
109
+ D ) Clear your Symfony Cache
101
110
~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
111
103
112
Make sure you clear (and warm-up) your Symfony cache:
@@ -106,7 +115,7 @@ Make sure you clear (and warm-up) your Symfony cache:
106
115
107
116
$ php app/console cache:clear --env=prod --no-debug
108
117
109
- D ) Dump your Assetic Assets
118
+ E ) Dump your Assetic Assets
110
119
~~~~~~~~~~~~~~~~~~~~~~~~~~~
111
120
112
121
If you're using Assetic, you'll also want to dump your assets:
@@ -115,7 +124,7 @@ If you're using Assetic, you'll also want to dump your assets:
115
124
116
125
$ php app/console assetic:dump --env=prod --no-debug
117
126
118
- E ) Other Things!
127
+ F ) Other Things!
119
128
~~~~~~~~~~~~~~~~
120
129
121
130
There may be lots of other things that you need to do, depending on your
0 commit comments