Magento2 setup with breeze,
Why Breeze :
- Breeze module offers Magento alternative js frontend.
- It makes your store 3 times faster.
- It brings your website closer to a high Google Page Speed score.
- The goal of the Breeze module is to boost the default Luma theme performance via replacing all scripts with simplified versions.
- It results in a more dynamic interface of any Magento 2 frontend.
Download and install Magento 2 using composer
Check composer is installed on your server if not install it first.
Run “composer” command from terminal to check composer is installed or not.
Run below command from the terminal
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.5 Magento_breeze
Note : “Magento_breeze” Directory will create, Magento will download in this directory.
Run below command
cd Magento_breeze
Run below command to install Magento :
Create database and details add, change it according
–db-name=breeze –db-user=root –db-password=db_pass
Database name “breeze“
Database user “root“
Database password “db_pass“
For the Elasticsearch detail, added below code.
–search-engine=elasticsearch7 –elasticsearch-host=191.145.45.11 \
–elasticsearch-port=9200
191.145.45.11 It is a elasticsearch server ip in my case, you need to change it.
php bin/magento setup:install --base-url=http://localhost/Magento_breeze/pub/ \ --db-host=localhost --db-name=breeze --db-user=root --db-password=db_pass \ --admin-firstname=Magento --admin-lastname=User [email protected] \ --admin-user=admin --admin-password=admin@123 --language=en_US \ --currency=USD --timezone=America/Chicago --use-rewrites=1 \ --search-engine=elasticsearch7 --elasticsearch-host=191.145.45.11 \ --elasticsearch-port=9200
Install sample data command :-
php bin/magento sampledata:deploy php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f sudo chmod -R 777 var/ generated/ pub/
Two-factor authentication is enabled by default. If you want to disable it, you can run the command –
php bin/magento module:disable Magento_TwoFactorAuth php bin/magento cache:flush
Now the time is to install Breeze:
Ref. https://breezefront.com/installation
Install swissup/marketplace module.
composer require swissup/module-marketplace php bin/magento setup:upgrade
When Marketplace module is installed, proceed with the following commands to download and enable Breeze package.
composer require swissup/breeze-blank composer require swissup/breeze-evolution php bin/magento setup:upgrade php bin/magento marketplace:package:install swissup/breeze-blank
Installer will ask you to select a store, then it will create CMS content, and change your current theme to Breeze.
All done, Magento2 setup with breeze
Related Post : Add Product With Custom Options To Cart Graphql in Magento 2