The naming convention of the downloaded package is as
<namespace_modulename-version.zip>.
For example
ced_ebspayment-1.0.0.zip. Prerequisites Here are some prerequisites that the user has to verify before installation:
- Magento Version Community Edition 2.0 is already installed.
- In case of any dependency on any extension, the relevant extension should be already installed.
To Add the Module to the Magento 2 Directory
- Extract the downloaded package <namespace_modulename-version.zip>. Note: After extracting the compressed file, check whether the available folder is /app or <ModuleName>.
If the available folder is /app, then go to
step 1- a. If the available folder is <ModuleName>, then go to
step 1- b. Copy the /app folder from the provided package and paste it into the <Magento 2 Folder>.
OR Copy the folder <ModuleName> from the provided package and paste it to the <Magento 2 Folder>/app/code/Ced.
Note: Create the required folder structure in the system if it does not exist.
- Open the terminal (cmd) and do the following steps:
a. Change the directory to the Magento 2 root directory using the cd command.
b. Run the command: php bin\magento setup:upgrade
Note: Only after completion of the above steps
c. Run the command: php bin\magento setup:static-content:deploy
Note: Only after completion of the above step, follow theStep
d: Run the command: php bin/magento setup:di:compile
Note: If php is not accessible globally then replace php with the complete path of php.
- Go to the Admin panel of the store, and first clear the Magento 2 cache.