In a Rush? Install with Drush!

You know how to install Drupal the normal way, but there is a shortcut, if you have drush.

Drush provides a command (site-install) for downloading modules. Drupal, itself, is kept as a project in the modules section of Drupal. So, drush can download it, as well. Installing Drupal can be done with another drush command. Here is how to install Drupal, in 3 easy steps:

  1. drush dl drupal --drupal-project-rename=<my project name>
  2. cd example
  3. drush site-install standard --db-url='mysqli://[db_user]:[db_pass]@localhost/[db_name]' --site-name=<site directory name>

Post new comment

©2005-2017 Ayen Designs. Underlying theme by Kiwi Themes.