Tel: +91-99620-28747 |
Drupal: Installing multiple contrib modules – the easier than ‘easiest’ way
A while ago, I wrote about un-TARing multiple files in one go on the server to install multiple contrib modules for Drupal.
Of course, it seemed like the easiest thing in the world back then… But then, in 2010, the world still had Kodak films in production.
Now, allow me to show you the truly simplest way to install a drupal and add contrib modules – Drush. Of course, Drush allows for even more automation, but this workflow is quite sufficient for me at this time. It’s quite simple to install Drush on a Dreamhost Shared account with SSH.
Target folder – home/coloursalive.com
cd
to the level above the target folderwget http://ftp.drupal.org/files/projects/drupal-7.14.tar.gz
ls
confirm that the file has downloadedtar -xzvf drupal-7.14.tar.gz
a new folder called drupal-7.14 is created- check that there are no files that are required in the target folder
- Copy / Backup any files that are needed from the target folder
- delete the target folder and all subfolders
rm -R coloursalive.com
- navigate to target folder in browser (in this instance www.coloursalive.com) and follow instructions to install drupal
- come back to shell once basic install is completed
- Download most basic modules
drush dl token pathauto ctools views admin_menu wysiwyg imce webform libraries jquery_update views_slideshow imce_wysiwyg devel entity rules page_title
- Enable the modules that have been downloaded. In some instances additional modules that make up the project are downloaded. Assess the necessary modules to be enabled and enable them.
drush en token pathauto ctools views views_ui admin_menu_toolbar admin_devel admin_menu wysiwyg imce webform libraries jquery_update views_slideshow views_slideshow_cycle imce_wysiwyg devel entity rules rules_admin page_title
- Ensure OK / success messages on all modules
- Move over to the admin section of the website and continue setting up the install
I’ll be happy to hear from you if you have any suggestions. Leave them in the comments, please.