Web Stats for Half-Life Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.8 KiB

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