Problem/Motivation

Using composer on windows

Drupal Commerce documentation:
https://docs.drupalcommerce.org/commerce2/developer-guide/install-update...

says:
The following command will download Drupal 8 + Commerce 2.x with all dependencies to the mystore folder:

composer create-project drupalcommerce/project-base mystore --stability dev

Install it just like a regular Drupal site. Commerce will be automatically enabled for you.

install fails with message:
Cloning failed using an SSH key for authentication, enter your GitHub credentials to access private repos.
Head to https://github.com/settings/tokens/new? to retrieve a token. It will be stored in "C:/Users/" for future use by composer.

I don't have a GitHub user, how to install Drupal Commerce ?
Also, I want my Drupal Commerce installation to be portable, i.e. not include any machine or user-specific information

Thank you

Comments

manarak created an issue. See original summary.

drupaldope’s picture

update:

the following procedure was apparently successful

I installed the latest Drupal 8 version using:
composer create-project drupal/recommended-project:8.9.2 my_site_name_dir

I configured the site and then I used:
composer require "drupal/commerce"

this apparently installed Drupal Commerce 2 (I didn't notice any errors), and then I activated all modules marked as "commerce" from the modules overview.

so this is probably a case of outdated documentation .

rszrama’s picture

Priority: Critical » Normal
Status: Needs review » Closed (works as designed)