Skip to content

Repository Setup Instructions

FlamurMatoshi edited this page Feb 22, 2024 · 1 revision

Setting Up the Environment:

Prerequisites:

1. Git

2. Composer

3. Node.js and npm

4. PHP


Instructions:

1. Clone the Repository:

git clone ...

2. Navigate to the Project Directory:

cd E-Commerce

3.Install Composer Dependencies:

composer install

4.Install Node.js Dependencies:

npm install

5.Copy the Environment File:

cp .env.example .env

6.Generate an Application Key:

php artisan key:generate

7.Run Migrations:

php artisan migrate

8.Start the Development Server:

php artisan serve

9.Compile Frontend Assets:

npm run dev

10.(Optional) Seed the Database:

php artisan db:seed --class=DatabaseSeeder

11.Import the Dump File (Optional):

mysql -u username -p database_name < Lumin_Eyes_SQL_Dump/lumin_eyes_database.sql
Clone this wiki locally