johanwilfer / vagrant-easy-drupal8

A simple way to fire up a Drupal 8 in Vagrant
MIT License
0 stars 10 forks source link

Install Drupal Console #11

Open seetee opened 7 years ago

seetee commented 7 years ago

https://drupalconsole.com/

seetee commented 6 years ago

This should work. But I have not tested it. Post here to remember to test it. :-)

# install Drupal Console
if [ ! -f /usr/local/bin/drupal ]; then
  echo "--> Installing Drupal Console..."
  # Make sure we are somewhere non-critical
  cd
  # Download program
  curl https://drupalconsole.com/installer -L -o drupal.phar
  # Put it in the right place
  mv drupal.phar /usr/local/bin/drupal
  # Make sure it is executable
  chmod +x /usr/local/bin/drupal
fi
seetee commented 6 years ago

Seems like my fix was bad. Issue #11 is connected with issue #17.

We should forget both Drush and Drupal Console as separate installs, and instead install drupal via composer and at that phase declare both Drush and Drupal Console as dependencies for the project. Makes it easier to update as well.