mirror of
https://github.com/YGGverse/HLState.git
synced 2026-03-31 17:15:39 +00:00
update readme
This commit is contained in:
parent
c1332a396f
commit
6960924f7d
1 changed files with 4 additions and 2 deletions
|
|
@ -6,21 +6,23 @@ Web Stats for Half-Life Server
|
|||
|
||||
## 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:schema:update --force`
|
||||
|
||||
### Setup
|
||||
|
||||
* `chown -R user:group var`
|
||||
* `cp .env .env.local`
|
||||
* `php bin/console doctrine:database:create`
|
||||
* `crontab -e` > `* * * * * /usr/bin/curl --silent http://address/crontab/online &> /dev/null`
|
||||
|
||||
## Update
|
||||
|
||||
* `composer update`
|
||||
* `php bin/console doctrine:migrations:migrate`
|
||||
* `php bin/console cache:clear`
|
||||
* `APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear`
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue