Viewers: in countries Watching now:
Manage your Drupal sites even more efficiently with Drush, the shell interface for managing and scripting Drupal site development. In this quick course, author Jon Peck describes what Drush is, how to install it, and how to use it effectively for everyday—and exceptional—tasks.
The course describes how to manage users, download and install modules and themes, archive and restore your entire site, and employ site variables for fast, full control over your Drupal sites. Plus, discover how to script an entire Drupal site installation with and without site profiles.
An official installer for Drush is available for Microsoft Windows, providing a convenient method for installing Drush and its needed components. The homepage is at: drush.org/drush_ windows_installer, and it provides current project status, links to the files, and installation instructions. The Windows installer usually lags a bit behind the officials Drush release, illustrated by the rest of the course using Drush 5.8 and the Windows installer still on 5.7.
The Drush installer supports Windows 7, Windows Vista Service Pack 2 or higher, Windows XP Service Pack 3 or higher, Windows Server 2003 Service Pack 2 or higher, Windows Server 2008, and Windows Server 2008 R2. There are also a couple of supported shells, minsw and msysgit which are recommended, the command prompt, and PowerShell. Msysgit is not distributed with the full Drush installer as it's a separate project.
However, it does provide Git in patch support. The full installer for official Git is recommended but Shell installation is not covered in this course. There are some limitations. Most SQL commands will work with SQL Server but the dump database command will not work. SQL-sync is not really working, and Drush make does not work correctly in 5.7. To use the Windows installer, download the installer then run it with the user account that has administrator privileges.
Click Next on the Welcome page, you will be given a number of options. The first three items are required runtimes, leave them alone. The fourth, add support for the Rsync command if you're interacting with Linux and UNIX servers. Register Environment Variables is a useful shortcut that will automatically add all required paths to the Path Environment Variable. The last option, Configure Windows Remote Management, allows remote commands to be used from the client. Where Drush is installed to a remote Windows server where Drupal is hosted.
For more in-depth details on these options refer to the installation guide linked from the bottom of the Windows installer homepage. When I'm done configuring the options, click Next and then Install. If prompted, say yes to run as administrator, then click Finish. Verify that Drush is installed by double -clicking on the Drush command's prompt and typing the following, "drush". In the next chapter, I will demonstrate how to install a site using Drush, how to get information about the site and the modules, and how to manage modules, users, and more.
There are currently no FAQs about Simplified Drupal Sites with Drush.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.