Skip to content

Commit 56cb6c2

Browse files
committed
fix and mention of Symfony Docker
1 parent ba9f763 commit 56cb6c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mercure.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,18 @@ clients.
6868
An official and open source (AGPL) implementation of a Hub can be downloaded
6969
as a static binary from `Mercure.rocks`_.
7070

71+
If you use `Symfony Docker`_,
72+
a Mercure Hub is already included and you can skip straight to the next section.
73+
7174
On Linux and Mac, run the following command to start it:
7275

7376
.. rst-class:: command-linux
74-
.. code-block:: terminal
7577

7678
$ SERVER_NAME=:3000 MERCURE_PUBLISHER_JWT_KEY="!ChangeMe!" MERCURE_SUBSCRIBER_JWT_KEY="!ChangeMe!" ./mercure run -config Caddyfile.dev
7779

7880
On Windows run:
7981

8082
.. rst-class: command-windows
81-
.. code-block:: terminal
8283
8384
> $env:SERVER_NAME=':3000'; $env:MERCURE_PUBLISHER_JWT_KEY='!ChangeMe!'; $env:MERCURE_SUBSCRIBER_JWT_KEY='!ChangeMe!'; .\mercure.exe run -config Caddyfile.dev
8485
@@ -638,6 +639,7 @@ Enable the panel in your configuration, as follows:
638639
.. _`high-level implementations`: https://mercure.rocks/docs/ecosystem/awesome
639640
.. _`In this recording`: https://www.youtube.com/watch?v=UI1l0JOjLeI
640641
.. _`Mercure.rocks`: https://mercure.rocks
642+
.. _`Symfony Docker`: https://github.com/dunglas/symfony-docker/
641643
.. _`API Platform distribution`: https://api-platform.com/docs/distribution/
642644
.. _`JSON Web Token`: https://tools.ietf.org/html/rfc7519
643645
.. _`example JWT`: https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOlsiKiJdfX0.iHLdpAEjX4BqCsHJEegxRmO-Y6sMxXwNATrQyRNt3GY

0 commit comments

Comments
 (0)