I love drush. I simply do! Those guys at drupal.org have done a wonderful wonderful job by creating drush!!
for downloading and enabling a module, all I had to do was this :
$cd /path/to/drupal/root
$drush dl <module_name>
$drush en <module_name>
Don't agree?
quickstart@qs091:/var/www/demo/drupal-6.20$ drush dl panels
Project panels (6.x-3.9) downloaded to /var/www/demo/drupal-6.20/sites/all/modules/panels. [success]
Project panels contains 4 modules: panels_ipe, panels_mini, panels_node, panels.
quickstart@qs091:/var/www/demo/drupal-6.20$ drush en panels
The following projects have unmet dependencies:
panels requires ctools
Would you like to download them? (y/n): y
Project ctools (6.x-1.8) downloaded to /var/www/demo/drupal-6.20/sites/all/modules/ctools. [success]
Project ctools contains 9 modules: views_content, stylizer, ctools_plugin_example, bulk_export, ctools_access_ruleset, ctools_ajax_sample, page_manager, ctools_custom_content, ctools.
The following extensions will be enabled: ctools, panels
Do you really want to continue? (y/n): y
panels was enabled successfully. [ok]
ctools was enabled successfully. [ok]
for downloading and enabling a module, all I had to do was this :
$cd /path/to/drupal/root
$drush dl <module_name>
$drush en <module_name>
Don't agree?
quickstart@qs091:/var/www/demo/drupal-6.20$ drush dl panels
Project panels (6.x-3.9) downloaded to /var/www/demo/drupal-6.20/sites/all/modules/panels. [success]
Project panels contains 4 modules: panels_ipe, panels_mini, panels_node, panels.
quickstart@qs091:/var/www/demo/drupal-6.20$ drush en panels
The following projects have unmet dependencies:
panels requires ctools
Would you like to download them? (y/n): y
Project ctools (6.x-1.8) downloaded to /var/www/demo/drupal-6.20/sites/all/modules/ctools. [success]
Project ctools contains 9 modules: views_content, stylizer, ctools_plugin_example, bulk_export, ctools_access_ruleset, ctools_ajax_sample, page_manager, ctools_custom_content, ctools.
The following extensions will be enabled: ctools, panels
Do you really want to continue? (y/n): y
panels was enabled successfully. [ok]
ctools was enabled successfully. [ok]
To make a database backup:
quickstart@qs091:/var/www/demo/drupal-6.20$ drush sql-dump --result-file=database.sql
Database dump saved to database.sql [success]
This is so damn exciting!! hosting a drupal site has just gotten bettr!
Comments
Post a Comment