Quantcast
Channel: Webkul Blog
Viewing all articles
Browse latest Browse all 5489

Magento 2 Contribution Install

$
0
0

Follow the steps below to clone Magento2 official git branch.

STEP 1: Clone the repository

You can clone the latest code from the Magento GitHub repository

STEP 2: Create an authentication file

  1. Create an auth.json file in your Magento root directory.
  2. Copy the contents of the sample auth.json file into the new auth.json file.
  3. Replace <public-key> and <private-key> with your Adobe Commerce authentication credentials. Add the github-oauth section and replace the <personal-access-token> with the one you created for your GitHub account.
{
    "http-basic": {
        "repo.magento.com": {
            "username": "<public-key>",
            "password": "<private-key>"
        }
    }
    "github-oauth": {
        "github.com": "<personal-access-token>"
    }
}

STEP 3: Install composer dependencies by running the below command.

composer install


Viewing all articles
Browse latest Browse all 5489

Trending Articles