Here we will guide you through the installation process of our extension. First off, open FileZilla, log in to your host as follows:
In the above example we switched the local site to the extension directory, and the remote site to the code directory. Now on the remote site window, inside root directory, create a folder named packages/magenest and go inside it. Now on your local site window, right click on Extension Name and click Upload. The extension will be uploaded onto your host in a few minutes.
The second method will require you to compress the extension into .zip or .tar.gz format, then execute the following command in your Command Line/Terminal:
scp <path to your extension> <ssh server>:<path to Magenest directory>
Now go to your Magento root directory, say it's named magento2, open file composer.json and add following section
Code Block | ||||
---|---|---|---|---|
| ||||
"repositories": [
{
"type": "artifact",
"url": "packages/magenest"
}
], |
and execute the following commands:
composer require Magenest/module-subscription
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
After running all these, your Command line/Terminal window might look like this:
Finally, you need to flush the cache by either type this into the Command Line/Terminal:
php bin/magento cache:flush
Or go to System > Cache Management. Click the following buttons to completely clear the store cache:
1. Flush Magento Cache
2. Flush Cache Storage
3. Flush Catalog Images Cache
4. Flush JavaScript/CSS Cache
Now you can go to your store and check if the extension is working as expected.