Skip to content

Commit 722f5f8

Browse files
authored
Clarifying when you need to or don't need to install the server bundle
1 parent 184c298 commit 722f5f8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

setup.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,22 @@ In other words, your new app is ready!
3434
3535
$ composer create-project symfony/skeleton my-project
3636
37+
# optional: install the web server bundle (explained next)
38+
$ cd my-project
39+
$ composer require symfony/web-server-bundle --dev
40+
3741
Running your Symfony Application
3842
--------------------------------
3943

4044
On production, you should use a web server like Nginx or Apache
4145
(see :doc:`configuring a web server to run Symfony </setup/web_server_configuration>`).
4246
But for development, it's even easier to use the :doc:`Symfony PHP web server <setup/built_in_web_server>`.
4347

44-
If you have downloaded the skeleton version, move into your new project and install the server:
48+
Move into your new project and start the server:
4549

4650
.. code-block:: terminal
4751
4852
$ cd my-project
49-
$ composer require symfony/web-server-bundle --dev
50-
51-
To start the server, run:
52-
53-
.. code-block:: terminal
54-
5553
$ php bin/console server:run
5654
5755
Open your browser and navigate to ``http://localhost:8000/``. If everything is working,

0 commit comments

Comments
 (0)