Skip to content

Instantly share code, notes, and snippets.

@viktorpetryk
Last active July 17, 2024 11:42
Show Gist options
  • Save viktorpetryk/410006872291984de9248d6a651fe674 to your computer and use it in GitHub Desktop.
Save viktorpetryk/410006872291984de9248d6a651fe674 to your computer and use it in GitHub Desktop.
Magento 2 installation on Laragon (Windows 10)
  1. Create root directory for project:
mkdir magento2.test
  1. Cd to created directory:
cd magento2.test
  1. Download files with composer:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
  1. Install with wizard in browser or with command bellow:
php bin/magento setup:install --base-url=http://magento2.test/ --db-host=localhost --db-name=magento2_test --db-user=root --db-password= --admin-firstname=Admin --admin-lastname=Admin --admin-email=admin@test.com --admin-user=admin --admin-password=q1234567 --backend-frontname=admin --language=en_US --currency=USD --timezone=Europe/Kiev --use-rewrites=1
  1. Install simple data:
php bin/magento sampledata:deploy
php bin/magento setup:upgrade
  1. Deploy static content:
php bin/magento setup:static-content:deploy -f
  1. Tools:
php bin\magento indexer:reindex
@danishcj
Copy link

in case anyone is having @dhabdel 's issue, please enable the php extension withing laragon by rightclick->PHP->Extensions and make sure 'soap' is ticked.

@mr-farhan
Copy link

@danishcj SOAP command work for me, If still having some issue try using following commands.

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment