Drupal console with aquia/blt drupal 8

Drupal console makes Drupal developers life really easy
Install drupal console on your system

Download it:


  $ curl https://drupalconsole.com/installer -L -o drupal.phar
  

Move it to the local path:


  $ mv drupal.pha /usr/local/bin/drupal
  

Give execute permission:


  $ chmod +x /usr/local/bin/drupal
  

Run the following command to copy config file in home directory.


  $ drupal init
  

Now, you have drupal console install in you system, run the following command to check.


  $ drupal list
  

Setup a drupal project using aquia/blt, please refer my post Setup drupal 8 using aquia/blt on nginx Ubuntu.

Now add drupal console to your existing project using below commands.


  $ cd /var/www/blt-drupal.com/
  $ rm -rf vendor/
  $ rm rm composer.lock
  $ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
  
-:Done:-

Comments

Popular posts from this blog

How to setup Drupal 8 Multisite on nginx webserver with different domain.

Install drush globally using composer on WSL

Drupal views create exposed filter programmatically