drupal 8

Generate UUID in Drupal 8

Drupal 8 is full of UUIDs. Sometimes it's useful to generate one for use ourselves.

Drupal Console: Install a new site

drupal site:install \
  --learning \
  --uri="http://testing.site" \
  --langcode="en"  \
  --db-type="mysql"  \
  --db-host="localhost"  \
  --db-name="drupal8_site"  \
  --db-user="somesiteuser"  \
  --db-pass="really secure password"  \
  --db-prefix="prefix_" \
  --db-port="3306"  \
  --site-name="Drupal 8"  \
  --site-mail="admin@example.com"  \
  --account-name="anything but admin"  \
  --account-mail="admin@example.com"  \
  --account-pass="another really secure password" \
  minimal # the profile name

The --uri= option is needed when dealing with multi-site.

Drupal Console: Create new multi-site with URL

drupal multisite:new testing1 testing.site

Details on params in more ..

Subscribe to RSS - drupal 8