8000 feature #4124 Rebased #3965 (WouterJ) · linaori/symfony-docs@75bda4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 75bda4b

Browse files
committed
feature symfony#4124 Rebased symfony#3965 (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Rebased symfony#3965 Rebased version of @j00seph's PR: symfony#3965 Commits ------- d8dc7aa some minor improvements 70b7d41 Update deployment-tools.rst
2 parents 93481d7 + d8dc7aa commit 75bda4b

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

cookbook/deployment/tools.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,23 @@ 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 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
7584
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7685

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

81-
B) Update your Vendors
90+
C) Update your Vendors
8291
~~~~~~~~~~~~~~~~~~~~~~
8392

8493
Your vendors can be updated before transferring your source code (i.e.
@@ -97,7 +106,7 @@ as you normally do:
97106
ensures that development packages are not installed in the production
98107
environment.
99108

100-
C) Clear your Symfony Cache
109+
D) Clear your Symfony Cache
101110
~~~~~~~~~~~~~~~~~~~~~~~~~~~
102111

103112
Make sure you clear (and warm-up) your Symfony cache:
@@ -106,7 +115,7 @@ Make sure you clear (and warm-up) your Symfony cache:
106115
107116
$ php app/console cache:clear --env=prod --no-debug
108117
109-
D) Dump your Assetic Assets
118+
E) Dump your Assetic Assets
110119
~~~~~~~~~~~~~~~~~~~~~~~~~~~
111120

112121
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:
115124
116125
$ php app/console assetic:dump --env=prod --no-debug
117126
118-
E) Other Things!
127+
F) Other Things!
119128
~~~~~~~~~~~~~~~~
120129

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

0 commit comments

Comments
 (0)
0