Update README.md

This commit is contained in:
2024-10-02 11:25:28 +00:00
parent 75b4019643
commit 1343677546

View File

@@ -6,7 +6,6 @@
<ul> <ul>
<li><a href="https://www.php.net/downloads">php8.1</a></li> <li><a href="https://www.php.net/downloads">php8.1</a></li>
</ul> </ul>
* [![Laravel][Laravel.com]][Laravel-url]
</details> </details>
<details> <details>
@@ -15,4 +14,41 @@
<li><a href="https://www.mysql.com">Mysql-15.1</a></li> <li><a href="https://www.mysql.com">Mysql-15.1</a></li>
<li><a href="https://mariadb.org">MariaDB-10.11.8</a></li> <li><a href="https://mariadb.org">MariaDB-10.11.8</a></li>
</ul> </ul>
</details> </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
```