O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — using Drush to install a dev version of the Media module

We are going to use Drush to download the dev release of the Media module, so that we can add some multi-media content to our d7dev site.

  1. Open the Terminal (Mac OS X) or Command Prompt (Windows) application, and go to the root directory of our d7dev site.
  2. The second version of the Media module is dependent on the File Entity module. So, we will use Drush to download and enable that module.
    $ drush dl file_entity-7.x-2.x-dev Project file_entity (7.x-2.x-dev) downloaded to /Users/kurt/htdocs/d7dev/sites/all/modules/file_entity. [success] $ drush en file_entity The following extensions will be enabled: file_entity Do you really want to continue? (y/n): y file_entity was enabled ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required