Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Drupal Console #57

Open
AliHassan7 opened this issue May 15, 2017 · 1 comment
Open

Install Drupal Console #57

AliHassan7 opened this issue May 15, 2017 · 1 comment

Comments

@AliHassan7
Copy link
Contributor

AliHassan7 commented May 15, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants