How to use drush in drupal

Drush

Drush was originally developed by Arto for Drupal 4.7. In May 2007, it was partly rewritten and redesigned for Drupal 5 by frando. Drush is maintained by Moshe WeitzmanOwen Barton,greg.1.andersonjhedstromjonhattan, and Mark Sonnabaum.

Open  Your Terminal and enter commands.

1. Go to your project directory.
     cd /var/www/drupal-7.34/

2. Check drush status for drush install or not on your machine.
    drush status

3. Clear drupal cache.
   drush cc all

4. Install module.
    drush dl juicebox

5. Enable module.
    drush en juicebox

6. Install new theme.
   drush dl bootstrap

7. Enable theme.
   drush en bootstrap







Comments

Popular posts from this blog

Install PHP 7.x on Linux Mint 18

Install Redis on ubuntu 14.04, 14.10, 15.04, 16.04 etc

Disable Drupal 8 caching during development