Migrate Magento1.x to Magento2.x – Basic – Part 5:

How to Install Data Migration Tool:
1. Install the tool from GitHub:
Run following command from Magento2 root in terminal.
• composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool
• composer require magento/data-migration-tool:<version>
2.Install the tool from repo.magento.com (using Composer):
(2.1) If we are installing via Compose then while installation you may have to give
authentication keys (public & private key).
(2.2) First we have to get our authentication key.
Login Magento website with your account : redirect to Myaccont => connect =>
Developers => Secure Key => Enter Name => Generate => Will get Key
Your Username as public key & Password is as private key.
(2.3) Once key is generate then run below command,
composer config repositories.magento composer https://repo.magento.com
(2.4) And then run composer require magento/data-migration-tool:<version>
Ex: composer require magento/data-migration-tool:2.1.0
(2.5) Once successfully installed then copy Migration tool module will create & locate it
into vendor/folder and auth.json will create with key in your magento2.x root itself.

3. Install Manually:
Download data migration tool and keep inside vendor folder.
Ex: root/vendor/vendor/magento/data-migration-tool
Add into composer.json required field. We need to check migrate command is available
or not. Inside bin folder we come to know migrate.php is available or not. Some time if
we install by mannualy then we might get miss migrate.php file.
Now i run upgrade grade .Once we kept above folder, specify ur tool from composer file
Ex: root/compose.json
“require”: {
“magento/product-community-edition”: “2.0.0”,
“composer/composer”: “@alpha”,
“magento/data-migration-tool”: “2.0.0”
},
Data Migration Sample Workflow: More Info
http://devdocs.magento.com/guides/v2.0/migration/migration-overview-how.html

“No Dialing No Texting While Driving

Leave a Reply