From 70b7d41b6051fe07c7e60318489d38416b111e11 Mon Sep 17 00:00:00 2001 From: j00seph Date: Sat, 21 Jun 2014 09:46:30 +0200 Subject: [PATCH 1/2] Update deployment-tools.rst Added"Check requirements as A in Common Post-Deployment Tasks --- cookbook/deployment/tools.rst | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/cookbook/deployment/tools.rst b/cookbook/deployment/tools.rst index 4e0d147f7e0..a57833312e8 100644 --- a/cookbook/deployment/tools.rst +++ b/cookbook/deployment/tools.rst @@ -71,14 +71,24 @@ 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 requirements. +Run command: + +.. 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. @@ -97,7 +107,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: @@ -106,7 +116,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: @@ -115,7 +125,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 From d8dc7aaaabb8581f164a1a8c5f271696bb00fd02 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Sat, 16 Aug 2014 09:44:59 +0200 Subject: [PATCH 2/2] some minor improvements --- cookbook/deployment/tools.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cookbook/deployment/tools.rst b/cookbook/deployment/tools.rst index a57833312e8..58cc3bd6cfc 100644 --- a/cookbook/deployment/tools.rst +++ b/cookbook/deployment/tools.rst @@ -71,11 +71,10 @@ Common Post-Deployment Tasks After deploying your actual source code, there are a number of common things you'll need to do: -A) Check Requirements. -~~~~~~~~~~~~~~~~~~~~~~ +A) Check Requirements +~~~~~~~~~~~~~~~~~~~~~ -Check if your server meets requirements. -Run command: +Check if your server meets the requirements by running: .. code-block:: bash