From 1343677546ee1d4314fac852249a53412c7ef2c0 Mon Sep 17 00:00:00 2001 From: Hasan Zaki Date: Wed, 2 Oct 2024 11:25:28 +0000 Subject: [PATCH] Update README.md --- README.md | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 546c448c..8d8968fd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ - * [![Laravel][Laravel.com]][Laravel-url]
@@ -15,4 +14,41 @@
  • Mysql-15.1
  • MariaDB-10.11.8
  • -
    \ No newline at end of file + + + +## 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 + ```