# HLState Web Monitor for Half-Life based on [Xash3D FWGS](https://github.com/FWGS/xash3d-fwgs) masters crawler ![HLState](https://github.com/YGGverse/HLState/assets/108541346/e8559edf-8429-496e-afbb-752a822cd3d6) ## Install * `apt install git composer curl php php-xml php-intl php-mbstring php-curl php-sqlite3` * `git clone https://github.com/YGGverse/HLState.git` * `cd HLState` * `composer install` * `php bin/console doctrine:migrations:migrate` ### Setup * `chown -R www-data:www-data var` * `cp .env .env.local` * `crontab -e` > `* * * * * /usr/bin/curl --silent http://localhost/crontab/index &> /dev/null` ## Update * `git pull` * `git merge` * `composer update` * `php bin/console doctrine:migrations:migrate` * `APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear` ## Contribution Please create new branch from main before make PR * `git checkout main` * `git checkout -b 'new-commit-branch'` ## License * Engine sources [MIT License](https://github.com/YGGverse/HLState/blob/main/LICENSE) ## Versioning [Semantic Versioning 2.0.0](https://semver.org/#semantic-versioning-200) ## Components * [Symfony Framework](https://symfony.com) * [SVG icons](https://icons.getbootstrap.com) * [PHP Source Query](https://github.com/xPaw/PHP-Source-Query) * [HL-PHP](https://github.com/YGGverse/hl-php) * [Half-Life logo](https://commons.wikimedia.org/wiki/File:Half-Life_lambda_logo.svg) * [Favicons](https://realfavicongenerator.net) ## Support * [Issues](https://github.com/YGGverse/HLState/issues) ## Blog * [Mastodon](https://mastodon.social/@YGGverse) ## See also * [half-life-server](https://github.com/YGGverse/half-life-server) - Half-Life server edition by YGGverse * [pymaster](https://github.com/YGGverse/pymaster) - Refactored master server written in Python