- installing: 'Starting Drupal 8 install process'
- installed: 'Your Drupal 8 installation was completed successfully'
- using-current-database: 'Using "%s" database with name "%s" and user "%s"'
- already-installed: 'Drupal is already installed, try dropping your database executing database:drop or install executing site:install --force --no-interaction'
- sites-backup: 'The sites.php file has temporarily been renamed to backup.sites.php while Drupal installs.'
- sites-restore: 'The backup of sites.php has been been restored to sites.php.'
- invalid-multisite: 'Invalid multisite, please create multisite using command drupal multisite:new %s --site-uri=%s'
+ installing: 'Starting Drupal 8 install process'
+ installed: 'Your Drupal 8 installation was completed successfully'
+ using-current-database: 'Using "%s" database with name "%s" and user "%s"'
+ already-installed: 'Drupal is already installed, try dropping your database executing database:drop or install executing site:install --force --no-interaction'
+ sites-backup: 'The sites.php file has temporarily been renamed to backup.sites.php while Drupal installs.'
+ sites-restore: 'The backup of sites.php has been been restored to sites.php.'
+ invalid-multisite: 'Invalid multisite, please create multisite using command drupal multisite:new "%s" "%s"'
+examples:
+ - description: 'Install a drupal project specifying installation type, language code, database configuration, site name, site email and admin credential settings'
+ execution: |
+ drupal site:install standard \
+ --langcode="en" \
+ --db-type="mysql" \
+ --db-host="127.0.0.1" \
+ --db-name="drupal8" \
+ --db-user="u53rn4m3" \
+ --db-pass="dbp455" \
+ --db-port="3306" \
+ --site-name="Drupal 8" \
+ --site-mail="admin@example.com" \
+ --account-name="admin" \
+ --account-mail="admin@example.com" \
+ --account-pass="p455w0rd"