@@ -49,8 +49,8 @@ First, move into your new project and install the server:
49
49
50
50
.. code-block :: terminal
51
51
52
- cd my-project
53
- composer require server --dev
52
+ $ cd my-project
53
+ $ composer require server --dev
54
54
55
55
To start the server, run:
56
56
@@ -62,6 +62,12 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is w
62
62
you'll see a welcome page. Later, when you are finished working, stop the server
63
63
by pressing ``Ctrl+C `` from your terminal.
64
64
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
+
65
71
.. tip ::
66
72
67
73
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
89
95
packages, a system called :ref: `Flex <flex-quick-intro >` will add more lines to that
90
96
file when needed.
91
97
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
-
121
98
.. _install-existing-app :
122
99
123
100
Setting up an Existing Symfony Project
0 commit comments