Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .docksal/commands/init-site
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ site_install ()
{
cd $DOCROOT_PATH

if [[ $HOSTNAME == "cli" ]]; then
# Add settings.local.php if it doesn't already exist and we're in docksal. This will get ignored by git.
copy_settings_file $DOCROOT_PATH/sites/example.settings.local.php $SITEDIR_PATH/settings.local.php
fi

# We disable email sending here so site-install does not return an error
PHP_OPTIONS="-d sendmail_path=`which true`" drush site-install -y --site-name='My Drupal 8 Site' --sites-subdir="default"
}
Expand Down