Skip to content

Improved the check requirements section of the deployment article #14809

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

Merged
merged 1 commit into from
Jan 8, 2021
Merged
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
29 changes: 27 additions & 2 deletions deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,32 @@ you'll need to do:
A) Check Requirements
~~~~~~~~~~~~~~~~~~~~~

Use the ``check:requirements`` command to check if your server meets the
:ref:`technical requirements for running Symfony applications <symfony-tech-requirements>`.
There are some :ref:`technical requirements for running Symfony applications <symfony-tech-requirements>`.
In your development machine, the recommended way to check these requirements is
to use `Symfony CLI`_. However, in your production server you might prefer to
not install the Symfony CLI tool. In those cases, install this other package in
your application:

.. code-block:: terminal

$ composer require symfony/requirements-checker

Then, make sure that the checker is included in your Composer scripts:

.. code-block:: json

{
"...": "...",

"scripts": {
"auto-scripts": {
"vendor/bin/requirements-checker": "php-script",
"...": "..."
},

"...": "..."
}
}

.. _b-configure-your-app-config-parameters-yml-file:

Expand Down Expand Up @@ -257,3 +281,4 @@ Learn More
.. _`Clever Cloud`: https://www.clever-cloud.com/doc/php/tutorial-symfony/
.. _`Symfony Cloud`: https://symfony.com/doc/master/cloud/intro.html
.. _`Scalingo`: https://doc.scalingo.com/languages/php/symfony
.. _`Symfony CLI`: https://symfony.com/download