telekonsum/project

Commerce 2.x project template

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:project

dev-master 2020-02-19 08:02 UTC

This package is auto-updated.

Last update: 2024-04-19 18:32:31 UTC


README

Use Composer to get Drupal + Commerce 2.x.

Usage

First you need to install composer.

Note: The instructions below refer to the global composer installation. You might need to replace composer with php composer.phar (or similar) for your setup.

After that you can create the project:

composer create-project telekonsum/project some-dir --stability dev --no-interaction

Done! Use composer require ... to download additional modules and themes:

cd some-dir
composer require "drupal/devel:1.x-dev"

The composer create-project command passes ownership of all files to the project that is created. You should create a new git repository, and commit all files not excluded by the .gitignore file.

What does the template do?

  • Drupal is installed in the web directory.
  • Modules (packages of type drupal-module) are placed in web/modules/contrib/
  • Theme (packages of type drupal-theme) are placed in web/themes/contrib/
  • Profiles (packages of type drupal-profile) are placed in web/profiles/contrib/
  • Creates default writable versions of settings.php and services.yml.
  • Creates the web/sites/default/files directory.
  • Latest version of DrupalConsole is installed locally for use at bin/drupal.