mercureact/bin/mercureactd

13 lines
305 B
Plaintext
Raw Normal View History

2024-03-10 02:06:19 +00:00
#!/usr/bin/env php
<?php
use NoccyLabs\Mercureact\Configuration;
use NoccyLabs\Mercureact\Daemon;
require_once __DIR__."/../vendor/autoload.php";
$config = Configuration::createDefault()
->setJwtSecret("!ChangeThisMercureHubJWTSecretKey!");
$daemon = new Daemon($config);
$daemon->start();