magento 2 install extension using command line or manual installation

8
Magento 2 install extension using command line or manual installation

Upload: huong-pham

Post on 11-Apr-2017

25 views

Category:

Software


3 download

TRANSCRIPT

Magento 2 install extension using command line or manual

installation

I. MAGENTO 2 INSTALL EXTENSION

Option 1: Magento 2 install extension using COMMAND LINE (Recommended)

Step 1: Download/purchase the extension Step 2: Unzip the file in a temporary directory Step 3: Upload it to your Magento installation root directory Step 4: Disable the cache under System >> Cache

Management Step 5: Enter the following at the command line: php f bin/magento setup:upgrade Step 6: After opening Stores >>Configuration > >Advanced > >

Advanced, the module will be shown in the admin panel

Magento 2 Install Extension using command line

Option 2. Magento 2 install extension manually

Step 1: Download/purchase the extension Step 2: Unzip the file in a temporary directory Step 3: Upload it to your Magento installation root directory Step 4: Disable the cache under System >> Cache Management

Edit app/etc/config.php file and three line code:

‘Ves_Megamenu’ => 1,

‘Ves_Setup’ => 1, Step 5: Disable the cache under System > > Cache Management Step 6 : After opening Stores >> Configuration >> Advanced >> Advanced,

the module will be shown in the admin panel.

>> UPGRADING DATABASEIf you need to upgrade the database, run the following command line:php f bin/magento setup:db schema:upgrade

II. IMPORT SAMPLE DATA

• Go to admin >> Ves_Setup >> Import• Select the sample data file• Select Import Configuration• Refresh the cache under System >> Cache

Management

Import Sample Data

Thank you for your attention!