Skip to content

Instantly share code, notes, and snippets.

@radheymkumar
Created September 20, 2019 12:45
Show Gist options
  • Save radheymkumar/5dc363fd944392436d1d8df75a98af8c to your computer and use it in GitHub Desktop.
Save radheymkumar/5dc363fd944392436d1d8df75a98af8c to your computer and use it in GitHub Desktop.
Install Console
https://www.a2hosting.in/kb/installable-applications/optimization-and-configuration/drupal2/installing-drupal-console
Console Install
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
Path
echo 'alias drupal="/var/www/html/<project_name>/vendor/bin/drupal"' >> ~/.bashrc
source ~/.bashrc
Command:
drupal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment