Mercure and windows 10

  batch-file, mercure, php, real-time, windows-10

As part of the development of a personal project, I want to use MERCURE to make real time, but the problem is that after downloading the Zip file containing the executable of MERCURE, when I launch it, it disappears as soon, I tried to create a .bat file with this code:

sh
set JWT_KEY=YourJwtKey
set ADDR=localhost:3000
set ALLOW_ANONYMOUS=1
set CORS_ALLOWED_ORIGINS=*
.mercure.exe

but it still doesn’t work, that’s why I’m coming to you for guidance in case I missed something

NB: I am under windows 10 64bits and I use wamp64

Thanks in advance for your answers

Source: Ask PHP

LEAVE A COMMENT