How to install module manually on Magento 2

August 16, 2016 Mishel Soiko Magento, Magento 2
How to install module manually on Magento 2

Magento 2 provides convenient way to install module via composer. But what if you got from the extension provider a zip-file with the basic codebase? In this case you need to install it to your store, without using Magento Connect manager. Just follow these simple steps to perform installation easily:

To install the extensions we should copy it’s code to the required Magento directory:

How to install module manually on Magento 2

The left panel shows here the basic listing of the zip-file with a module.

The right panel — Magento 2 codebase.

Current zip-file contains User_Guide.pdf file and the Install directory. Basically the Install folder content should be copied to the app/code/ directory.

After that we can use 2 different methods to initialize the module in a store.

1. Browser

This method requires Cron tasks set up and proper running. In case it has not performed yet-do it [http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html]. You will need it further, not only for extensions installation.

So if Cron is set up correctly, just follow the path in admin panel to initialize the module:

System/ Web Setup Wizard/ Component ManagerHere you can enable all available modules.

How to install module manually on Magento 2

In case Magento is set up properly you’ll see the notification that all of the systems run correctly.

How to install module manually on Magento 2

Further, before you enable the module, Backup creation will be proposed.

And finally we will see the following screen:

How to install module manually on Magento 2

The module has been enabled. And now we can switch back to the module list and enable (install) the next one.

2. Shell

Method #2- in my opinion is more acceptable for website administrators. This method requires access to the server bash shell. Magento Cli provides a large number of useful console commands to manage the store. And you can get the list of these commands by running: php bin/magento.

How to install module manually on Magento 2

But now we need to use only one:

      php bin/magento setup:upgrade

This command checks all of the modules and launches schema installation or updating process (if necessary). So you just need one command to perform updating  and installation of all modules.



3 comments

Post a new comment