add multi-environment configuration support

This commit is contained in:
ghost 2023-09-13 16:35:02 +03:00
parent 74e7035123
commit 073619b461
16 changed files with 62 additions and 54 deletions

View file

@ -24,7 +24,10 @@ Open trackers defined in [trackers.json](https://github.com/YGGverse/YGGtracker/
php8^
php-pdo
php-mysql
php-curl
php-memcached
sphinxsearch
memcached
```
#### Installation
@ -37,7 +40,7 @@ sphinxsearch
* The web root dir is `/src/public`
* Deploy the database using [MySQL Workbench](https://www.mysql.com/products/workbench) project presented in the `/database` folder
* Install [Sphinx Search Server](https://sphinxsearch.com)
* Configuration examples presented at `/config` folder
* Configuration examples presented at `/config` folder. When server environment not provided, setup `env.default.php`
* Make sure `/src/api` folder writable
* Set up the `/src/crontab` by following [example](https://github.com/YGGverse/YGGtracker/blob/main/example/environment/crontab)