Makerere University

Enter a keyword or two into the search box above and click search..

Quicky Install Drupal with Drush

You are here

Start by

Downloading the latest Distrubution 

drush dl drupal-7.x

Then move the folder to another folder e.g. 

mv drupal-7.x-dev mysite

Install Drupal

drush si --db-url=mysql://root:drupal123@127.0.0.1/drupaltest --account-name=admin --account-pass=drupal123 --account-mail=example@domain.com --locale=pt_br --site-name="Drupal Test"

if you come accross any errors, get help from the 

drush help site-install

Also To save time creating a new database and user, you can provide database root user credentials and Drush will do everything for you. The normal installation should be uneventful.

Category: