Setup/install drupal 8 site with drush command.

How to setup a drupal site using drush command

Below command can be use to install a drupal site in one go.


  drush site-install standard \
  --db-url=mysql://[username]:[password]@[host]/[database] \
  --account-mail="[account-email]" \
  --account-name=[account-username] \
  --account-pass=[account-password] \
  --site-mail="[site-email]" \
  --site-name="[site-name]"
  

Replace content of [] with your own.

-:End:-

Comments

Popular posts from this blog

How to setup Drupal 8 Multisite on nginx webserver with different domain.

Install drush globally using composer on WSL

Drupal views create exposed filter programmatically