Tuesday, June 1, 2010

Fast Install Drupal... DRUSH

DRUpal SHell (Drush) is without a doubt the fastest way of installing Drupal and other modules - the ones you ALWAYS use, the ones that you use for every Drupal installation...

Love thy terminal!
Drush is however a pure terminal (CLI) tool, and as such, you must (!!!) invoke and use it from the terminal... The most useful commands are:
  • "drush -h" - Get Drush help, see all of the things you can do through Drush!
  • "drush dl" - DownLoad (dl) Drupal in it's newest stable version
  • "drush dl [module] [module] [module]... [module]" - DownLoad the modules that you CRAVE!  This corresponds to downloading them from the Drupal Project's Website, and then FTP'ing them to the correct "/sites/all/modules" sub-directory of your Drupal installation
  • "drush en ...[module] [module] [module]... [module]" - Enable the modules that you just downloaded.  This corresponds to Enabling the modules through the Drupal Module Manager on your Drupal website
Install!
Installation of Drush is apparent from its project-page, but here is the specific procedure for Mac OS X - Also for those not quite comfortable with the Mac OS X Terminal Application.

No comments:

Post a Comment