Azitech

Azimout's Linux weblog

drush

leave a comment »

A very useful command-line tool for Drupal is Drush

I use it to update Drupal modules, themes and the Drupal core, plus it automatically does backups before each operation, and database upgrades when needed afterwards.

Here’s how to install drush:

sudo apt-get install php-pear
sudo pear channel-discover pear.drush.org
sudo pear install drush/drush

Then to update a given module, cd to the base of your Drupal installation and run

sudo drush up <module name>
Advertisements

Written by azimout

10/03/2013 at 15:56

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: