Wednesday, February 2, 2011

How to install Drupal with Drush on Windows7

Installing the Drupal with Drush in Windows

Before going to start working on this make sure following things enabled.

Apache Modules
--------------
mod_rewrite

PHP Extensions
--------------
php_curl
php_gd2
php_mysqli


1)Download the following packages from http://gnuwin32.sourceforge.net
click on Packages link.
and Download the Following Packages.
a)libarchieve
b)gzip
c)wget
d)tar

Download all the Packages as setups so that easy to install.

After Downloading four packages install it.

After completion of installation add all the Installed packages to environment variables.
for ex:-
If you installed the packages to C:\Program Files (x86)\GnuWin32 Add the C:\Program Files (x86)\GnuWin32\bin to path in environment variables.

and Add the php and mysql paths to the Path in Global Settings.

Download the Drush from Drupal.org(http://drupal.org/project/drush).

Unzip and place in any folder and add that path to the path variable in environment variables.

Now go to the Command prompt cd to www directory and type "drush" then you will see the entire Help.

That means You have installed the drush Successfully.

Here is a very good video tutorial on Installing WAMP, Drush & Drupal on Windows 7.
(Referred from vimeo.com)


And also Refer
---------------
http://drupal.org/project/drush
http://drush.ws

Here is the site to generate drush-make file quickly.
http://drushmake.me/