SDP IO18

Local Deployment tips:

  1. download and install: https://windows.php.net/download#php-8.3
    1. extract & add that folder to C:\Program Files C:\Program Files\php-8.3.7 (renamed the extracted file to just php-8.3.7)
  2. Install https://getcomposer.org/Composer-Setup.exe
  3. Install Laragon
  4. After Installing Laragon (follow tutorial sent)
  5. Then clone the github repo in the given path C:\laragon\www\<....> alt text
  6. Then go to add database
  7. then link to the downloaded php .exe file in laragon like this... alt text
  8. then also add the Apache folder from here as shown. (folder sent on Whatsapp) alt text
  9. Open Laragon, click on Start all
  10. then on right click on Laragon, goto www -> select your repository which was mentioned on Step 5 alt text
composer update --ignore-platform-reqs

Add database

sql file is at: here download this file and link that file as mentioned in Step-3 command below to upload to mySQL database.

run these commands in Laragon Terminal option

# step 1

mysql -u root -p

password: press enter

# step 2

show databases;
# step 3

# adding the SQL file to the MySQL database
mysql -u root -p ecommerce < C:\Users\ASUS\Downloads\database.sql

in case of probelms: refer or ask @cosmicsarthak


Production Deployment


Known errors:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.10. in C:\laragon\www\sdp-multivendor-ecom\vendor\composer\platform_check.php on line 24

Fixes: