Skip to content

Commit 200225a

Browse files
committed
minor #8855 Simplify the setup article (javiereguiluz)
This PR was squashed before being merged into the 4.0 branch (closes #8855). Discussion ---------- Simplify the setup article The removed contents were just a repetition of what you can read at https://symfony.com/doc/current/reference/requirements.html Commits ------- c19c90e Simplify the setup article
2 parents 2e5517a + c19c90e commit 200225a

File tree

1 file changed

+8
-31
lines changed

1 file changed

+8
-31
lines changed

setup.rst

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ First, move into your new project and install the server:
4949

5050
.. code-block:: terminal
5151
52-
cd my-project
53-
composer require server --dev
52+
$ cd my-project
53+
$ composer require server --dev
5454
5555
To start the server, run:
5656

@@ -62,6 +62,12 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is w
6262
you'll see a welcome page. Later, when you are finished working, stop the server
6363
by pressing ``Ctrl+C`` from your terminal.
6464

65+
.. tip::
66+
67+
If you're having any problems running Symfony, your system may be missing
68+
some technical requirements. Use the :doc:`Symfony Requirements Checker </reference/requirements>`
69+
tool to make sure your system is set up.
70+
6571
.. tip::
6672

6773
If you're using a VM, you may need to tell the server to bind to all IP addresses:
@@ -89,35 +95,6 @@ Your project already has a sensible ``.gitignore`` file. And as you install more
8995
packages, a system called :ref:`Flex <flex-quick-intro>` will add more lines to that
9096
file when needed.
9197

92-
Troubleshooting: The Requirements Checker
93-
-----------------------------------------
94-
95-
If you're having any problems running Symfony, your system may be missing some
96-
`technical requirements`_. Symfony has a "Requirements Checker" tool that you
97-
can use to easily make sure your system is set up. First, move into your project
98-
directory and install it:
99-
100-
.. code-block:: terminal
101-
102-
$ composer require req-checker
103-
104-
The ``req-checker`` utility adds two PHP scripts to your application:
105-
``vendor/bin/requirements-checker`` and ``public/check.php``. Run the first one
106-
from your terminal:
107-
108-
.. code-block:: terminal
109-
110-
php vendor/bin/requirements-checker
111-
112-
This will check your CLI environment. Run the second one from a browser (e.g.
113-
``http://localhost:8000/check.php``) to check your web server environment.
114-
115-
Once you've fixed any issues, uninstall the requirements checker:
116-
117-
.. code-block:: terminal
118-
119-
$ composer remove req-checker
120-
12198
.. _install-existing-app:
12299

123100
Setting up an Existing Symfony Project

0 commit comments

Comments
 (0)