Skip to content

Commit

Permalink
feature #4124 Rebased #3965 (WouterJ)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Rebased #3965

Rebased version of @j00seph's PR: #3965

Commits
-------

d8dc7aa some minor improvements
70b7d41 Update deployment-tools.rst
  • Loading branch information
weaverryan committed Aug 16, 2014
2 parents 93481d7 + d8dc7aa commit 75bda4b
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions cookbook/deployment/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,23 @@ Common Post-Deployment Tasks
After deploying your actual source code, there are a number of common things
you'll need to do:

A) Configure your ``app/config/parameters.yml`` File
A) Check Requirements
~~~~~~~~~~~~~~~~~~~~~

Check if your server meets the requirements by running:

.. code-block:: bash
$ php app/check.php
B) Configure your ``app/config/parameters.yml`` File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

B) Update your Vendors
C) Update your Vendors
~~~~~~~~~~~~~~~~~~~~~~

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

C) Clear your Symfony Cache
D) Clear your Symfony Cache
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Make sure you clear (and warm-up) your Symfony cache:
Expand All @@ -106,7 +115,7 @@ Make sure you clear (and warm-up) your Symfony cache:
$ php app/console cache:clear --env=prod --no-debug
D) Dump your Assetic Assets
E) Dump your Assetic Assets
~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you're using Assetic, you'll also want to dump your assets:
Expand All @@ -115,7 +124,7 @@ If you're using Assetic, you'll also want to dump your assets:
$ php app/console assetic:dump --env=prod --no-debug
E) Other Things!
F) Other Things!
~~~~~~~~~~~~~~~~

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

0 comments on commit 75bda4b

Please sign in to comment.