Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 app/code root directory, create a folder named Magenest 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.

...

    scp <path to your extension> <ssh server>:<path to Magenest directory>

 

Now Then log into your ssh server, go to Magenest directory and execute the following command to decompress the module:your Magento root directory, say it's named magento2, open file composer.json and add following section

Code Block
languagejs
themeMidnight
"repositories": [
    {
      

...

Or

"type": "artifact",
      

...

"url": "packages/magenest"
    }
],
 
 

Now go to your Magento root directory, say it's named magento2, 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

...