Installation
We recommend that you test the extensions on a test Magento installation before installing them on a live Magento installation.
Prior to installation, you may want to:
- Back up your database.
- Enable maintenance mode.
You can install the extension in the following ways:
Install the extension using Composer
- Log in to your Magento server as, or switch to, the file system owner.
- Navigate to your Magento project directory.
- If you have previously installed our extensions using this method, make sure that the repo.ecwhim.com repository exists in your composer.json file:
Otherwise, run the following command:
"repositories": [ "ecwhim": { "type": "composer", "url": "https://repo.ecwhim.com" } ]
composer config repositories.ecwhim composer https://repo.ecwhim.com
- Get the latest version of the extension:
composer require <composer-name>
composer-name
can be found inMy Downloadable Products
. - Enter your authentication keys. Your public key is your username; your private key is your password.
- Enable the extension.
Download package from the My Downloadable Products
page
- Download the latest version of the package from the
My Downloadable Products
page. - Extract the package in your Magento project directory.
- Enable the extension.
Enable the extension
- Enable the extension:
php bin/magento module:enable Ecwhim_ModuleName
- Register the extension:
php bin/magento setup:upgrade
- Recompile your Magento project:
php bin/magento setup:di:compile
- Deploy static view files (for production mode):
php bin/magento setup:static-content:deploy
- Clean the cache:
php bin/magento cache:clean
- Configure the extension in Admin as needed.
Upgrade an extension
If you used the Download package from the My Downloadable Products
page method:
- Remove all files and directories that were provided in the current extension package.
- Reinstall the extension.
If you installed using Composer, run the following commands:
composer remove <composer-name>
composer require <composer-name>
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
composer-name
can be found in My Downloadable Products
.
Authentication keys
You can create and manage authentication keys in Access Keys