DRUSH A Beginners Guide To An Advanced Tool By Roger Soper Mediacurrent Consultant South East Linux Fest June 13, 2010
Project Information drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife de...
Vitae I'm a Drupal developer who has over 10 years of information technology experience in a variety of languages and plat...
Getting started Google is your friend :-) For shared hosting: http://mediacurrent.com/blogs/learning-how-install-drush-non...
The Goal Save time and minimize effort: Quick Video (how fun) http://vimeo.com/moogaloop.swf?clip_id=5207683&server=vimeo....
Drupal + Drush = Awesome `
Drush Command Return `
Command line: Oh no not the command line!!!! Relax... its not that bad ;-) `
What can DRUSH do for you? Some of the basic common commands status, pm-releases, download, enable, disable, clear cache `
Status Command Provides a birds-eye view of the current Drupal installation, if any. core-status (status, st) ex: drush st...
pm-releases Command Release information for a project pm-releases ex: drush pm-releases `
pm-releases Command Return This is body copy `
Download Command Download core Drupal and projects like CCK, Zen, etc. pm-download (dl) ex: drush dl location ex: drush dl...
Download Command Return This is body copy `
Enable Command Enable one or more modules or themes. pm-enable (en) ex: drush en location `
Enable Command Return This is body copy `
Disable Command Disable one or more modules or themes. pm-disable (dis) ex: drush dis location `
Disable Command Return This is body copy `
Clear Cache Command Clear a specific cache, or all drupal caches. cache-clear (cc) ex: drush cc `
Lessons learned Ease of use File manipulation Configuration steps Speed `
Other useful features Sql-cli - SQL command-line interface Sql-dump - Exports the Drupal DB as SQL using mysqldump Variabl...
References http://drupal.org/project/drush Drush documentation `
Upcoming SlideShare
Loading in...5
×

Drush A beginners guide to a advanced tool.

6,842

Published on

Drush, A beginners guide to a advanced tool.

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,842
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
100
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

Transcript of "Drush A beginners guide to a advanced tool."

  1. 1. DRUSH A Beginners Guide To An Advanced Tool By Roger Soper Mediacurrent Consultant South East Linux Fest June 13, 2010
  2. 2. Project Information drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt. More information can be found at the Drupal project page at: http://drupal.org/project/drush `
  3. 3. Vitae I'm a Drupal developer who has over 10 years of information technology experience in a variety of languages and platforms. For 3+ years, I've worked exclusively on Drupal based sites for a national publishing company and now I'm a member of the Mediacurrent team. `
  4. 4. Getting started Google is your friend :-) For shared hosting: http://mediacurrent.com/blogs/learning-how-install-drush-non-admin-rights-server `
  5. 5. The Goal Save time and minimize effort: Quick Video (how fun) http://vimeo.com/moogaloop.swf?clip_id=5207683&server=vimeo.com `
  6. 6. Drupal + Drush = Awesome `
  7. 7. Drush Command Return `
  8. 8. Command line: Oh no not the command line!!!! Relax... its not that bad ;-) `
  9. 9. What can DRUSH do for you? Some of the basic common commands status, pm-releases, download, enable, disable, clear cache `
  10. 10. Status Command Provides a birds-eye view of the current Drupal installation, if any. core-status (status, st) ex: drush status `
  11. 11. pm-releases Command Release information for a project pm-releases ex: drush pm-releases `
  12. 12. pm-releases Command Return This is body copy `
  13. 13. Download Command Download core Drupal and projects like CCK, Zen, etc. pm-download (dl) ex: drush dl location ex: drush dl location-3.0-rc2 `
  14. 14. Download Command Return This is body copy `
  15. 15. Enable Command Enable one or more modules or themes. pm-enable (en) ex: drush en location `
  16. 16. Enable Command Return This is body copy `
  17. 17. Disable Command Disable one or more modules or themes. pm-disable (dis) ex: drush dis location `
  18. 18. Disable Command Return This is body copy `
  19. 19. Clear Cache Command Clear a specific cache, or all drupal caches. cache-clear (cc) ex: drush cc `
  20. 20. Lessons learned Ease of use File manipulation Configuration steps Speed `
  21. 21. Other useful features Sql-cli - SQL command-line interface Sql-dump - Exports the Drupal DB as SQL using mysqldump Variable-set - Set a variable Cron - Run all cron hooks `
  22. 22. References http://drupal.org/project/drush Drush documentation `
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×