diff --git a/deployment.rst b/deployment.rst index 68dc1d87767..2725d58efc6 100644 --- a/deployment.rst +++ b/deployment.rst @@ -120,11 +120,20 @@ Check if your server meets the requirements by running: $ php app/check.php -B) Configure your ``app/config/parameters.yml`` File -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. _b-configure-your-app-config-parameters-yml-file: -This file should *not* be deployed, but managed through the automatic utilities -provided by Symfony. +B) Configure your Parameters File +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Most Symfony applications define configuration parameters in a file called +``app/config/parameters.yml``. This file should *not* be deployed, because +Symfony generates it automatically using the ``app/config/parameters.yml.dist`` +file as a template (that's why ``parameters.yml.dist`` must be committed and +deployed). + +If your application uses environment variables instead of these parameters, you +must define those env vars in your production server using the tools provided by +your hosting service. C) Install/Update your Vendors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~