Command line tools are usually very fast when doing a repeatative task.
Linux/MAC command shell with all its shotcuts makes most developers like myself keep coming back for more development to them. Drupal too has its command shell: Drush and that can make the Drupal maintaince and upgrade the breeze.
Life can continue well without Drush. But, if you are a regular Drupal maintainer and need to upgrade sites/modules regularly and if you are maintaining couple of sites, immediately install Drush annd your life would be greatly rewarded by the amount of time you will save.
Lets start with installing Drush:
1) Download and extract Drush:
cd /usr/local/src
wget http://ftp.drupal.org/files/projects/drush-All-Versions-2.1.tar.gz
tar zxvf drush-All-Versions-2.1.tar.gz

2) Create a symbolic link as follows and you are ready to go with Drush power:
sudo ln -s /usr/local/src/drush/drush /usr/local/bin/

1) Following command downloads Drupal:
drush dl drupal
And then do a normal web-based Drupal install.
2) Download and enable modules (like views)
drush dl views cck
drush enable views cck
3) Upgrade Drupal Modules
drush update
Drush does not currently update core.
Lets define a proper Drupal development structure in next blog.
Post new Comment