Update URLs, readme

This commit is contained in:
Rob Vella 2021-01-10 23:54:21 -08:00
parent d5ab87a69a
commit 64e9c61974
3 changed files with 17 additions and 8 deletions

View File

@ -6,3 +6,16 @@ Shows which Ham Radio nodes are keyed up at one time.
Just plop in a directory that has a PHP web server pointing at it!
## Installation
* Edit streamServer.php and add your hubs to $hubs (line 20, separated by comma)
* Change user= and group= in stream-server.service to fit your environment
* Copy stream-server.service to /etc/systemd/system
* Make sure /srv/http/allmon2/astdb.txt exists or is a symlink to a working astdb.txt
* Make sure hideNodeURL=no in allmon.ini.php for the node stanza that's being monitored
```
./composer.phar install
systemctl enable stream-server
systemctl start stream-server
```

BIN
composer.phar Executable file

Binary file not shown.

View File

@ -17,13 +17,9 @@ class Stream
* @var array
*/
protected $hubs = [
1200,
1300,
2560,
2353,
// Offline 07-31-2020
// 27084,
2545,
// !!!!!!!!!!!!!!!!!!!!
// IMPORTANT!!! PUT THE NODE #s YOU WANT TO MONITOR HERE!!!!
// !!!!!!!!!!!!!!!!!!!!
];
/**
@ -84,7 +80,7 @@ class Stream
public function getAllMonUri()
{
$hubsStr = implode(",", $this->hubs);
return "http://localhost/server.php?nodes=" . $hubsStr;
return "http://localhost/allmon2/server.php?nodes=" . $hubsStr;
// Use this return if you want all nodes
// return "http://localhost/server.php";
// return __DIR__ . '/test.stream';