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 — installing Drupal 7

We are going to use a combination of Drush and Git to install Drupal.

  1. Mac OS X: Open up the Terminal application, and type the following command:
    cd /Applications/MAMP/htdocs
    

    Windows: Open the Drush command prompt application, and type the following command:

    cd /xampp/htdocs
    
  2. Now, we are going to use Git to locally clone the Drupal core Git repository into a new d7dev folder (this will take a few minutes, or so, depending on your network bandwidth):
    $ git clone http://git.drupal.org/project/drupal.git d7dev Cloning into d7dev... remote: Counting objects: 131301, done. remote: Compressing objects: 100% (36527/36527), done. remote: Total 131301 (delta 98528), reused 119725 (delta 88369) Receiving objects: 100% ...

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