8000 Improved the explanation about deployment + parameters.yml by javiereguiluz · Pull Request #8122 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Improved the explanation about deployment + parameters.yml #8122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
0