Skip to content

Mention the new check:requirements command #12147

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
Aug 13, 2019
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ you'll need to do:
A) Check Requirements
~~~~~~~~~~~~~~~~~~~~~

Check if your server meets the requirements by running:
Check if your server meets the requirements by running the following command
provided by the ``symfony`` binary created when `installing Symfony`_:

.. code-block:: terminal

$ php bin/symfony_requirements
$ symfony check:requirements

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

Expand Down Expand Up @@ -248,3 +249,4 @@ kernel and return your project's root directory::
.. _`Deployer`: http://deployer.org/
.. _`Git Tagging`: https://git-scm.com/book/en/v2/Git-Basics-Tagging
.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle
.. _`installing Symfony`: https://symfony.com/download
12 changes: 8 additions & 4 deletions reference/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ to avoid leaking internal information about your application to visitors.
Checking Requirements for the Command Console
---------------------------------------------

Open your console or terminal, enter in your project directory, execute this
command and fix the reported issues:
Open your console or terminal and run the following command provided by the
``symfony`` binary created when `installing Symfony`_:

.. code-block:: terminal

$ cd my-project/
$ php bin/symfony_requirements
# checks if your computer/server is ready to run Symfony projects
$ symfony check:requirements

# use the --dir option to also check if some specific Symfony project is ready to be run
$ symfony check:requirements --dir=/path/to/my-project

.. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard
.. _`skeleton`: https://github.com/symfony/skeleton
.. _`website-skeleton`: https://github.com/symfony/website-skeleton
.. _`installing Symfony`: https://symfony.com/download