@@ -71,14 +71,24 @@ 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 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
75
85
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
86
77
87
This file should be customized on each system. The method you use to
78
88
deploy your source code should *not * deploy this file. Instead, you should
79
89
set it up manually (or via some build process) on your server(s).
80
90
81
- B ) Update your Vendors
91
+ C ) Update your Vendors
82
92
~~~~~~~~~~~~~~~~~~~~~~
83
93
84
94
Your vendors can be updated before transferring your source code (i.e.
@@ -97,7 +107,7 @@ as you normally do:
97
107
ensures that development packages are not installed in the production
98
108
environment.
99
109
100
- C ) Clear your Symfony Cache
110
+ D ) Clear your Symfony Cache
101
111
~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
112
103
113
Make sure you clear (and warm-up) your Symfony cache:
@@ -106,7 +116,7 @@ Make sure you clear (and warm-up) your Symfony cache:
106
116
107
117
$ php app/console cache:clear --env=prod --no-debug
108
118
109
- D ) Dump your Assetic Assets
119
+ E ) Dump your Assetic Assets
110
120
~~~~~~~~~~~~~~~~~~~~~~~~~~~
111
121
112
122
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:
115
125
116
126
$ php app/console assetic:dump --env=prod --no-debug
117
127
118
- E ) Other Things!
128
+ F ) Other Things!
119
129
~~~~~~~~~~~~~~~~
120
130
121
131
There may be lots of other things that you need to do, depending on your
0 commit comments