From 4a6d0c61ed8eed2a330b912a979e5bf3015a0e87 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Mon, 9 Sep 2024 02:38:47 +0330 Subject: [PATCH] updated read me --- .env.example | 8 +++++++- README.md | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 556504a..38a3db7 100644 --- a/.env.example +++ b/.env.example @@ -20,7 +20,13 @@ LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug -DB_CONNECTION=sqlite + +#DB_CONNECTION=sqlite +#DB_HOST=127.0.0.1 +#DB_PORT=3306 +#DB_DATABASE=/home/freeman/Projects/xstack/xshop2/storage/logs/open.db +#DB_USERNAME=root +#DB_PASSWORD= SESSION_DRIVER=database SESSION_LIFETIME=9999999 diff --git a/README.md b/README.md index 7f45468..5c5f7ef 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ -## Installation +## Installation [ Development mode ] > [!IMPORTANT] > Create new database and rename `.env.example` to `.env` then update you `.env` configs so run this commands: @@ -28,6 +28,7 @@ ```bash git clone https://github.com/4xmen/xshop.git cd xshop +cp .env.example .env composer install php artisan migrate:fresh --seed php artisan storage:link