Skip to main content

Installing the extension

Use these steps to install the extension on your store.

Prepare for installation

  1. Back up your store's database and web directory.
  2. Log in to the SSH console of your server and navigate to the root directory of your Magento 2 store.
  3. Copy the installation instructions from the My Downloadable Products page and paste them into the SSH console. Press ENTER to proceed.

Execute the following commands to install the extension

  1. Run the following command to enable the extension:

    php -f bin/magento module:enable Mirasvit_Core Mirasvit_Report Mirasvit_Helpdesk
  2. Run the following command to install the extension:

    php -f bin/magento setup:upgrade
  3. Clear the cache:

    php -f bin/magento cache:clean
  4. Deploy static view files:

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
    php -f bin/magento setup:static-content:deploy

Execute the following commands to install the Helpdesk GraphQl module:

  1. Install the Helpdesk GraphQl module with the command:

    composer require mirasvit/module-helpdesk-graph-ql
  2. Run the following command to enable the extension:

    bin/magento module:enable Mirasvit_HelpdeskGraphQl
  3. Run the following command to install the extension:

    php -f bin/magento setup:upgrade
  4. Clear the cache:

    php -f bin/magento cache:clean
  5. Deploy static view files:

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
    php -f bin/magento setup:static-content:deploy

If you are using the Hyvä theme, install the compatibility module

  1. Install the Hyvä compatibility module with the command:

    composer require hyva-themes/magento2-mirasvit-helpdesk
  2. Enable the installed Hyvä modules:

    bin/magento module:enable Hyva_MirasvitHelpdesk
  3. Update the Magento database schema and data:

    bin/magento setup:upgrade
  4. Compile the code for the installed extensions:

    bin/magento setup:di:compile
  5. Compile theme assets:

    cd /path/to/theme/web/tailwind/
    npm run build-prod
  6. Deploy static view files:

    cd /path/to/project/
    rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
    php -f bin/magento setup:static-content:deploy
  7. Flush the cache:

    bin/magento cache:flush

If you want to upgrade the extension, please refer to the How to upgrade the extension section. To temporarily disable or remove it, use the commands from the How to disable the extension section.