GazeHub is part of Gaze. GazeHub is the main server that is responsible for sending data from the backend to the frontend.
Click here to go to the full documentation for Gaze and GazeHub.
To install GazeHub go to the GazeHub release repository and follow the instructions there.
For development you need Composer or Docksal installed on your system.
To run the unit tests:
./vendor/bin/phpunit
# Or for docksal
fin phpunit
You can test all the supported PHP versions by running the unittest.sh
script:
./unittest.sh
To create a phar-file that is executable:
php --define phar.readonly=0 create-archive.php
To release a new version of GazeHub a new phar file needs te be created in the GazeHub release repository. Follow the instructions there to create the new release.