Drupal Console is an awesome CLI (Command Line Interface) that allows you to generate code for custom Modules, Blocks, Content Types, and more!
You do not need to create a branch for this Task
cd to academyvm and then vagrant up
cd to /var/www/dev-1/proj-me and run the following command to install Drupal Console: composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader. The command might take a while
To verify that you successfully installed Drupal Console, run the following command: vendor/drupal/console/bin/drupal list. You should see a list of available Drupal Console commands. You are done installing Drupal Console!
Note: Typically, you would simply use drupal console by writing the word drupal (similar to how we write the word drush for drush commands). However, we will be using the path to drupal console instead due to inconsistent development environments - this should ensure the command works for everyone.
Note: All Drupal Console commands should be run from proj-me and will begin with vendor/drupal/console/bin/drupal.
Drupal Console is an awesome CLI (Command Line Interface) that allows you to generate code for custom Modules, Blocks, Content Types, and more!
cd
to academyvm and thenvagrant up
cd
to/var/www/dev-1/proj-me
and run the following command to install Drupal Console:composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
. The command might take a whilevendor/drupal/console/bin/drupal list
. You should see a list of available Drupal Console commands. You are done installing Drupal Console!Note: Typically, you would simply use drupal console by writing the word
drupal
(similar to how we write the worddrush
for drush commands). However, we will be using the path to drupal console instead due to inconsistent development environments - this should ensure the command works for everyone.Note: All Drupal Console commands should be run from proj-me and will begin with
vendor/drupal/console/bin/drupal
.