File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,18 @@ clients.
68
68
An official and open source (AGPL) implementation of a Hub can be downloaded
69
69
as a static binary from `Mercure.rocks `_.
70
70
71
+ If you use `Symfony Docker `_,
72
+ a Mercure Hub is already included and you can skip straight to the next section.
73
+
71
74
On Linux and Mac, run the following command to start it:
72
75
73
76
.. rst-class :: command-linux
74
- .. code-block :: terminal
75
77
76
78
$ SERVER_NAME=:3000 MERCURE_PUBLISHER_JWT_KEY="!ChangeMe!" MERCURE_SUBSCRIBER_JWT_KEY="!ChangeMe!" ./mercure run -config Caddyfile.dev
77
79
78
80
On Windows run:
79
81
80
82
.. rst-class: command-windows
81
- .. code-block :: terminal
82
83
83
84
> $env:SERVER_NAME=':3000'; $env:MERCURE_PUBLISHER_JWT_KEY='!ChangeMe!'; $env:MERCURE_SUBSCRIBER_JWT_KEY='!ChangeMe!'; .\mercure.exe run -config Caddyfile.dev
84
85
@@ -638,6 +639,7 @@ Enable the panel in your configuration, as follows:
638
639
.. _`high-level implementations` : https://mercure.rocks/docs/ecosystem/awesome
639
640
.. _`In this recording` : https://www.youtube.com/watch?v=UI1l0JOjLeI
640
641
.. _`Mercure.rocks` : https://mercure.rocks
642
+ .. _`Symfony Docker` : https://github.com/dunglas/symfony-docker/
641
643
.. _`API Platform distribution` : https://api-platform.com/docs/distribution/
642
644
.. _`JSON Web Token` : https://tools.ietf.org/html/rfc7519
643
645
.. _`example JWT` : https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOlsiKiJdfX0.iHLdpAEjX4BqCsHJEegxRmO-Y6sMxXwNATrQyRNt3GY
You can’t perform that action at this time.
0 commit comments