How to install the extension
Prepare for installation
-
Back up your store's database and web directory.
-
Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
- Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
Install the extension via composer
-
Run command to enable the extension
php -f bin/magento module:enable Mirasvit_Core Mirasvit_BlogMx Mirasvit_Comment
-
Run command to install the extension
php -f bin/magento setup:upgrade
-
Run command to clean the Magento cache
php -f bin/magento cache:clean
- Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
Install the extension for Hyva
-
Run the command to obtain the Blog MX Hyva component
composer require mirasvit/module-blog-mx-hyva:*
-
Enable installed Hyva component:
php -f bin/magento module:enable Hyva_MirasvitBlogMx Hyva_CompatModuleFallback
-
Update Magento database schema and data with the command:
php -f bin/magento setup:upgrade
-
Compile the code to generate the contents of Magento var/di folder:
php -f bin/magento setup:di:compile
-
Check the file app/etc/hyva-themes.json. If there are no entries for the package mirasvit/module-blog-mx-hyva package - run the following command
php -f bin/magento hyva:config:generate
-
Compile the code of the installed extension:
cd /path/to/theme/web/tailwind/
npm run build-prod
-
Deploy the static view files
cd /path/to/project/
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
- Run the command below to clean the cache:
php -f bin/magento cache:flush