ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush
More Beer
Less
Effort
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Cre...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less EffortDrus...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Ove...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Wha...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less EffortDrus...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less EffortDrus...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less EffortDrus...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less EffortDrus...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Ins...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
htt...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
wge...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
tar...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
ln ...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
# s...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
vim...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Con...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Bas...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dis...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
cd ...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Adv...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Thi...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dev...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Fea...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
To ...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dru...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dep...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Dep...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Sit...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Syn...
  
ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ
Drush More Beer, Less Effort
Que...
Upcoming SlideShare
Loading in...5
×

Drush - for zero to hero

4,871

Published on

This is a mashup from following slideshare presentations.

http://www.slideshare.net/buk0wsk1/drush-more-beer-less-effort
http://www.slideshare.net/jdschroeder/drush-5186087

Published in: Technology, News & Politics
1 Comment
13 Likes
Statistics
Notes
  • The            setup            in            the            video            no            longer            works.           
    And            all            other            links            in            comment            are            fake            too.           
    But            luckily,            we            found            a            working            one            here (copy paste link in browser) :            www.goo.gl/yT1SNP
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
4,871
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
129
Comments
1
Likes
13
Embeds 0
No embeds

No notes for slide

Drush - for zero to hero

  1. 1.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer Less Effort
  2. 2.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Credits http://www.slideshare.net/ * buk0wsk1/drush-more-beer-less-effort * jdschroeder/drush-5186087
  3. 3.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less EffortDrush More Beer, Less Effort General assumptions Who will get the most out of this presentation: * You are reasonably comfortable using command-line utilities. * You know the general concepts of Drupal. * See what Drush can do and how to use it.
  4. 4.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Overview * What * Install * Basic & Advanced Commands * Configuration * Extending Drush
  5. 5.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort What?
  6. 6.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less EffortDrush More Beer, Less Effort What is Drush? * Drupal shell * Not a module * Collection of scripts that allow you to perform Drupal tasks from the command line on your web server.
  7. 7.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less EffortDrush More Beer, Less Effort Why care? * You spend more time on Cmd * Less clicking – more scripting * Keep up to date
  8. 8.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less EffortDrush More Beer, Less Effort Drush knows ... * What site you're working on * What version of drupal you use * How to connect to your DB
  9. 9.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less EffortDrush More Beer, Less Effort Requirements * Run along side your installations * Could even work remotely * Requires commandline access 2 PHP
  10. 10.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Install
  11. 11.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort http://www.drupal.org/project/drush Drush More Beer, Less Effort Install Browse Drush Project Web Site
  12. 12.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort wget  http://ftp.drupal.org/files/projects /drush­6.x­3.3.tar.gz Install Download Latest Drush Package Latest = Oct 27, 2010
  13. 13.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort tar xvzf drush­6.x­3.3.tar.gz Install Uncompress Drush Package
  14. 14.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort ln ­s /path/to/drush/drush.php /usr/bin/drush Install Create symbolic link to Drush Script
  15. 15.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort # set PATH so it includes drush if it exists   if [ ­d "$HOME/workspace/drush" ] ; then     PATH="$HOME/workspace/drush:$PATH"   fi Alterative Install Add drush folder to $PATH in ~/.profile file
  16. 16.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort vim /etc/php5/cli/php.ini Install max_execution_time = 90 max_input_time = 180 max_input_nesting_level = 64 memory_limit = 256M
  17. 17.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Configuration * Global and site specific drushrc.php * Configures path locations, site aliases, checkout handling, database dump options, command-specific options, and variable overrides. * example.drushrc.php is included.
  18. 18.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Basic Commands
  19. 19.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Disclaimer * Not all commands are available to all Drupal versions. * site-install requires Drupal 7, several other commands require at least Drupal 6.
  20. 20.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort cd /var/www/drupal/sites/sitename Basic Commands Go to your site directory
  21. 21.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush help Basic Commands Show information about drush sysntax
  22. 22.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush help <command> Basic Commands Show command-specific information
  23. 23.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush st Basic Commands Show some useful information about your site and server configuration
  24. 24.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sm Basic Commands Show a list of available modules and themes
  25. 25.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush pm­info <project> ... Basic Commands Show detailed info about projects
  26. 26.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush pm­releases <project> ... Basic Commands Show all releases about a project (module, theme, profile, translation)
  27. 27.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush dl <project> <project>... Basic Commands Download Drupal Core, modules, themes, profiles, translations to a site specific directory or default site directory
  28. 28.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush en <project> <project>... Basic Commands Enable modules and themes and it's dependant modules as well
  29. 29.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush dis <project> <project>... Basic Commands Disable modules and themes and it's dependant modules as well
  30. 30.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush pm­uninstall <project>... Basic Commands Uninstall modules and themes (Must disable before uninstall them)
  31. 31.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Advanced Commands
  32. 32.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush cron Advanced Commands Run all cron hooks in all active modules
  33. 33.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush cc Advanced Commands Delete specific Drupal cache or all caches
  34. 34.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush updb Advanced Commands Run update.php script as a web browser
  35. 35.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush up Advanced Commands Display available update information and allow updating of all installed projects to the specified version
  36. 36.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush upc Advanced Commands Display available update information and allow updating of all installed project code to the specified version
  37. 37.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush eval ”php code” Advanced Commands Run php code in the context of Drupal
  38. 38.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush SQL Commands
  39. 39.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sql­conf Drush SQL Commands Show database connection details
  40. 40.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sql­connect Drush SQL Commands Database connection string
  41. 41.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sqlq ”query” Drush SQL Commands Execute query against the site database
  42. 42.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sqlc Drush SQL Commands Open a SQL command-line interface using Drupal's credentials
  43. 43.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush sql­dump Drush SQL Commands Exports the Drupal database using mysqldump
  44. 44.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush Shell Commands
  45. 45.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush cli Drush Shell Commands Enter a new shell optimized for drush use CTRL+D for Exit
  46. 46.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush> cdd Drush Shell Commands Navigate to your Drupal root directory
  47. 47.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush> sa Drush Shell Commands List all alias records known to Drush
  48. 48.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush> on @alias <command> Drush Shell Commands Executes command on @alias site
  49. 49.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush Log Messages
  50. 50.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush wd­show Drush Log Messages Show watchdog messages
  51. 51.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush wd­list Drush Log Messages Show available message types and severity levels
  52. 52.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush wd­del Drush Log Messages Delete watchdog messages
  53. 53.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Third Party Commands
  54. 54.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Devel module Third Party Commands Some third party modules provide more Drush commands that become available automatically
  55. 55.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush genc <nodes> <max­comments> Third Party Commands Generate nodes and comments automatically
  56. 56.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush gent <vid> <num­terms> Third Party Commands Generate taxonomy terms for a given vocabulary
  57. 57.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush genu <num­users> Third Party Commands Generate user accounts
  58. 58.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Features Third Party Commands features-diff, features-export, features- list, features-revert, features-revert-all, features-update, features-update-all
  59. 59.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort drush gent <vid> <num­terms> Third Party Commands Generate taxonomy terms for a given vocabulary
  60. 60.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort To the extreme
  61. 61.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush Make * Create a ready-made Drupal site from the command-line. * Useful for distributing installation profiles.
  62. 62.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush Make * unpack in ~/.drush * drush make [options]
  63. 63.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Drush Make Demo * run ./build.sh * [thank you Davy Van Den Bremt]
  64. 64.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Deployment Example
  65. 65.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Deployment Example
  66. 66.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Site Aliasing $options['site­aliases']['remote_site'] = array( 'uri' => 'myremotesite.com', 'root' => '/var/www/html/remotesite.com', 'db­url' => 'mysql://username:password@localhost/database', 'remote­host' => 'myremotesite.com', 'remote­user' => 'user_deploy', 'path­aliases' => array( '!drush' => '/usr/local/bin/drush', '!drush­script' => '/usr/local/bin/drush/drush', '!files' => 'sites/default/files', ), );
  67. 67.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Syncing files and data $ drush rsync sites/default    remote_site:sites $ drush sql­sync development    remote_site
  68. 68.    ABQIAAAAFLbwLUlMq-i3D8UQ8W6R9xRn2yK-HhNaemnF862PIVvbGvEzGxTy9ydyf7VVwEd6-DnVKKrF3bASmQ Drush More Beer, Less Effort Questions?
  1. A particular slide catching your eye?

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

×