Learn how site building and maintenance can benefit from Drush, the Drupal command line shell and scripting interface. Join Jon Peck, author of the lynda.com course Simplified Drupal Sites with Drush as he describes what Drush is, demonstrates how to install it, and how to use it effectively for everyday tasks. Drush is a fantastic daily-use tool without the overhead of the full Drupal GUI and bootstrap, but it has some drawbacks in terms of approachability. The documentation for drush, while thorough and improving, can be intimidating and obtuse for people who don’t live, breathe and code Drupal. drush.org the home page is an example of this; it’s a very useful source of information, but it’s literally dozens of commands and all their arguments displayed on one page. Where should a new Drush user start?
http://www.youtube.com/watch?v=Pp6UofwFMDw
8. managing drupal via the web
● only needs web browser to admin
● FTP client to add modules
● high overhead
○ many page loads
○ menu driven process
■ Clearing cache:
● Log into site
● Click on Configuration
● Click on Performance
● Click "Clear all Caches"
● restricts access
10. why use drush?
● save time
● scriptable
● reduces overhead
○ increases precision
11. what's the catch?
● documentation is obtuse
● overwhelming
○ drush.org
○ dozens of commands and all arguments
○ where to start?
12. demonstrations
● install drush 5.8
○ displayed as 7.x-5.5
○ compatible with Drupal 6, 7
● build a Drupal site
○ module installation
○ user and cache management
○ archiving, restoring entire sites
13. drush prerequisites
● GNU Wget
○ downloads files
● unzip
○ extracts archives
● most hosts, OSes have it already
14. installing drush with PEAR
● preferred method
● PEAR
○ PHP code distribution, package maintenance
● OS agnostic
● easy to update
● not required to use drush
○ manual installation available