anavdesign
4/23/2016 - 10:48 PM

DRUSH: Site Install

DRUSH: Site Install

drush si -v -y profile_name --account-mail=admin@example.com --account-name=admin --account-pass=admin --clean-url --db-url="mysql://root:root@localhost/db_name" --site-mail=admin@example.com --site-name="Site Name"

* si :: site-install
* -v :: Verbose
* -y :: Assume yes to all prompts
* profile_name :: the install profile you wish to run
* account-mail=admin@example.com :: Defaults to admin@example.com
* account-name=admin :: Defaults to admin
* account-pass=admin :: Defaults to a randomly generated password
* db-url=mysql://root:root@localhost/drupal :: Install using the specified DB params or create new database named test
* site-mail :: From: for system mailings. Defaults to admin@example.com
* site-name :: Defaults to Site-Install
*
* additional si options can be found @ http://www.drush.org/#site-install