1. Manual installation
1.1 Uploading files to the server
- Extract the magetrend_extension-name-x.x.x.zip archive
- Login to web server via FTP client and go to your magento directory.
- Create directory app/code/Magetrend/ModuleName
ModuleName - has to be replaced by module name.
- Upload all extracted files to extension directory.
There are no need to change/overwrite any existing files.
1.2 Enable extension
- Login to the server via ssh client
- Go to magento home directory
- Run the following commands:
3.1. php -f bin/magento module:enable --clear-static-content Magetrend_ModuleName
3.2. php -f bin/magento setup:upgrade
Notice: Replace "ModuleName" to module name for example:
php -f bin/magento module:enable --clear-static-content Magetrend_NewsletterPopup)
2. Composer installation
Installation via composer from .zip package, using "artifact" repository.
2.1 Upload extension package to the server
- Connect to your server via sftp or ftp
- Create directory {MAGENTO_HOME}repo/
- Upload extension package to {MAGENTO_HOME}repo/
2.1 Run ssh commands
- composer config repositories.local artifact {MAGENTO_HOME}repo/;
- composer require magetrend/{ComposerName}
- php -f bin/magento setup:upgrade;
- php -f bin/magento module:enable Magetrend_{ModuleName}
WHERE:
{MAGENTO_HOME} - path to your Magento home directory. For example "/var/www/public_html/"
{ComposerName} - composer name can be found in composer.json file.
{ModuleName} - can be found in registration.php file
3. Installation via Web Setup Wizard
3.1 Uploading files to the server
- Extract the magetrend_extension-name-x.x.x.zip archive
- Login to web server via FTP client and go to your magento directory.
- Upload all extracted files to the server.
There are no need to change/overwrite any existing files.
3.2 Web Setup Wizard
First of all you have to login to magento2 admin panel and go to:
System >> Web Setup Wizard >> Component Manager
Here you will see all available extensions. Please find the extension which you want to intall and click on "Enable" link.
3.3 Start Readiness Check
Press "Start Readiness Check" and wait until it will finish and press "Next" button.
3.4 Create backup
We have recommended you to create a backup. Press "Create Backup" button and when it will be ready, press "Next" button.
3.5 Enable extension
Finally last step! Press the button "Enable".