Monday, April 4, 2011

Drush installation and configuration steps


Drush configuration steps

1. Download Drush module from http://drupal.org/project/drush and place drush folder into your home directory. E.g: '/home/drush/'

2. In command line, execute following this statement.

PATH="/home/venkat/drush:$PATH" for temporary

3. Add this line PATH=/home/drush:"${PATH}"  in  /home/venkat/.bashrc file

4. Execute following command in command line

$ . .bashrc (including .dots)

Some Drush commands
1. drush cache-clear
2. drush sql-conf
3. drush sql-cli
4. drush dl cck zen
5. drush enable cck , drush pm-enable quiz
6. drush disable cck, drush pm-disable quiz

Here you can find more drush commands http://drush.ws/