Zum Inhalt springen

Composer

Aus Computech CMS Wiki
Version vom 19. Dezember 2016, 13:34 Uhr von Frederick (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „= Composer - The PHP dependency manager = The Drupal community is changing to use Composer to install and update Drupal. Drush has no idea about dependencies…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Composer - The PHP dependency manager

The Drupal community is changing to use Composer to install and update Drupal. Drush has no idea about dependencies as it is not a dependency manager.

Install the Drupal 8 Lightning distribution with Composer

composer create-project acquia/lightning-project:^8.1.0 MYPROJECT --no-interaction

Where MYPROJECT is the name of the project folder. Inside the project folder will be the webroot folder called docroot. This is the folder to server with the web server.

ie. To install a project called meos on the dev01 server, first go to /var/www then run:

composer create-project acquia/lightning-project:^8.1.0 meos --no-interaction

For more information about the Lightning Distribution see its Drupal.org project page or Github page.