Drupal Console

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

zie ook Installatie Drupal Commerce 2.x - Casus begin 2017 (3)

Installatie

Dit werkte in feb. 2017:

cd ~/Desktop
curl https://drupalconsole.com/installer -L -o drupal.phar
php drupal.phar
mv drupal.phar /usr/local/bin/drupal
sudo mv drupal.phar /usr/local/bin/drupal
sudo chmod +x /usr/local/bin/drupal
drupal init

Per instantie moet je Drupal Console ook locaal installeren. De foutmelding die je anders geeft, vermeld hoe je dat doet (twee commando's).

drupal list

Gebruik drupal list voor een overzicht van alle commando's.

drupal moi (module:install)

drupal moi [arguments] [options]
  • Argument: Module(s)
  • Options: --latest en --composer (om te uninstallen mbv. composer).

Ik geloof niet dat je een specifieke versie van een module kunt installeren.

Bronnen