Skip to content

Commit 6f816ef

Browse files
committed
Mention the new check:requirements command
1 parent 13a5281 commit 6f816ef

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

deployment.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,12 @@ you'll need to do:
117117
A) Check Requirements
118118
~~~~~~~~~~~~~~~~~~~~~
119119

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

122123
.. code-block:: terminal
123124
124-
$ php bin/symfony_requirements
125+
$ symfony check:requirements
125126
126127
.. _b-configure-your-app-config-parameters-yml-file:
127128

@@ -248,3 +249,4 @@ kernel and return your project's root directory::
248249
.. _`Deployer`: http://deployer.org/
249250
.. _`Git Tagging`: https://git-scm.com/book/en/v2/Git-Basics-Tagging
250251
.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle
252+
.. _`installing Symfony`: https://symfony.com/download

reference/requirements.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,18 @@ to avoid leaking internal information about your application to visitors.
2929
Checking Requirements for the Command Console
3030
---------------------------------------------
3131

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

3535
.. code-block:: terminal
3636
37-
$ cd my-project/
38-
$ php bin/symfony_requirements
37+
# checks if your computer/server is ready to run Symfony projects
38+
$ symfony check:requirements
39+
40+
# use the --dir option to also check if some specific Symfony project is ready to be run
41+
$ symfony check:requirements --dir=/path/to/my-project
3942
4043
.. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard
4144
.. _`skeleton`: https://github.com/symfony/skeleton
4245
.. _`website-skeleton`: https://github.com/symfony/website-skeleton
46+
.. _`installing Symfony`: https://symfony.com/download

0 commit comments

Comments
 (0)