65 lines
2.7 KiB
Markdown
65 lines
2.7 KiB
Markdown
|
|
|
|
### Dependencies
|
|
<details>
|
|
<summary>Server</summary>
|
|
<ul>
|
|
<li><a href="https://www.php.net/downloads">php8.1</a></li>
|
|
</ul>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Database</summary>
|
|
<ul>
|
|
<li><a href="https://www.mysql.com">Mysql-15.1</a></li>
|
|
<li><a href="https://mariadb.org">MariaDB-10.11.8</a></li>
|
|
</ul>
|
|
</details>
|
|
|
|
<!-- GETTING STARTED -->
|
|
## Getting Started
|
|
|
|
setting up the project on prod.
|
|
|
|
### Prerequisites
|
|
|
|
This is an example of how to list things you need to use the software and how to install them.
|
|
* npm
|
|
```sh
|
|
npm install npm@latest -g
|
|
```
|
|
|
|
### Installation
|
|
|
|
_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._
|
|
|
|
1. Get a free API Key at [https://example.com](https://example.com)
|
|
|
|
## Database configuration
|
|
optimize MariaDB configuration through this path .
|
|
```sh
|
|
/etc/mysql/mariadb.conf.d/50-server.cnf
|
|
```
|
|
set this values
|
|
```sh
|
|
innodb_buffer_pool_instances = 8
|
|
innodb_buffer_pool_size = 8G
|
|
innodb_file_per_table = ON
|
|
innodb_log_file_size = 768M
|
|
innodb_log_files_in_group = 4
|
|
innodb_log_buffer_size = 256M
|
|
innodb_thread_concurrency = 32 #in case of a 4-core system
|
|
innodb_stats_on_metadata = OFF
|
|
#innodb_flush_method = O_DIRECT
|
|
```
|
|
|
|
| Version | Latest | Branch | Status | Minimal PHP Version |
|
|
|:---------------------------------:|:--------:|:-------------:|:------------------------------------------------------------------:| :-----------------: |
|
|
| `1.0` (Morty Smith) | `1.0.16` | `release-1.0` | Old version (**UNSUPPORTED**) | `>=5.6, <8.0` |
|
|
| `1.1` (Birdperson) | `1.1.6` | `release-1.1` | Old version (**UNSUPPORTED**) | `>=5.6, <8.0` |
|
|
| `1.2` (Summer Smith) | `1.2.4` | `release-1.2` | Old version (**UNSUPPORTED**) | `>=5.6, <8.0` |
|
|
| `1.3` (Jerry Smith) | `1.3.7` | `release-1.3` | Old version (**UNSUPPORTED**) | `>=5.6, <8.0` |
|
|
| `2.0` (Rick Sanchez) | `2.0.13` | `release-2.0` | Last stable version ([Upgrade from v1 to v2](docs/UPGRADE_2.0.md)) | `>=7.4` |
|
|
| `2.1` (Mr. Meeseeks) | `2.1.5` | `release-2.1` | Current stable version | `>=7.4` |
|
|
| `2.2` | WIP | `master` | Feature minor version (WIP) | `>=7.4` |
|