@@ -63,24 +63,10 @@ is automatically configured to use it.
6363You can jump directly to the next section.
6464
6565If you use the :doc: `Symfony Local Web Server </setup/symfony_server >`,
66- the easiest way to install a Mercure hub is to leverage its :ref: `Docker integration <symfony-server-docker>.
66+ a Mercure hub will be automatically available as a Docker service thanks to its :ref: `Docker integration <symfony-server-docker>.
6767
68- First, be sure that recent versions of Docker and Docker Compose are properly installed on your computer.
69- Then, create ``docker-compose.yml`` and ``docker-compose.override.yml `` files in your project root directory
70- if they don't already exists:
71-
72- .. code-block :: terminal
73-
74- $ echo 'version: "3.8"' > docker-compose.yml
75- $ echo 'version: "3.8"' > docker-compose.override.yml
76-
77- Then, enable the Docker support of Symfony Flex:
78-
79- .. code-block :: terminal
80-
81- $ composer config --json extra.symfony.docker 'true'
82-
83- Finally, be sure to start the Symfony Local Web Server with the ``--no-tls `` option:
68+ Be sure that recent versions of Docker and Docker Compose are properly installed on your computer
69+ and to start the Symfony Local Web Server with the ``--no-tls`` option:
8470
8571.. code-block :: terminal
8672
@@ -89,15 +75,14 @@ Finally, be sure to start the Symfony Local Web Server with the ``--no-tls`` opt
8975 Installing the Symfony Bundle
9076~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9177
92- In applications using :ref: `Symfony Flex <symfony-flex >`, run this command to
93- install the Mercure support before using it:
78+ Run this command to install the Mercure support before using it:
9479
9580.. code-block :: terminal
9681
9782 $ composer require mercure
9883
99- If you previously enabled the Docker support of Symfony Flex, your Docker Compose
100- definition has been updated to include a Mercure service.
84+ :ref: ` Symfony Flex < symfony-flex >` has automatically installed and configured MercureBundle.
85+ It also created (if needed) and configured a Docker Compose definition that provides a Mercure service.
10186Run ``docker-compose up `` to start it.
10287
10388Configuration
0 commit comments