You are here

install.sh in Realistic Dummy Content 8.2

#!/bin/bash
#
# Install Drupal 7
#

set -e

cp -r /sites-default/* sites/default

# In order to prevent the "unable to send mail" error, we are including
# the "install_configure_form" line, which itself forces us to include the
# profile (standard), which would otherwise be optional. See the output
# of "drush help si" from where this is taken.

drush si \
  -y \
  --db-url=mysql://root:@database/drupal \
  --account-name=admin \
  --account-pass=admin \
  standard \
  install_configure_form.update_status_module='array(FALSE,FALSE)'

drush en realistic_dummy_content devel_generate devel -y

File

developer/frameworks/drupal7/docker-resources/install.sh
View source
  1. #!/bin/bash
  2. #
  3. # Install Drupal 7
  4. #
  5. set -e
  6. cp -r /sites-default/* sites/default
  7. # In order to prevent the "unable to send mail" error, we are including
  8. # the "install_configure_form" line, which itself forces us to include the
  9. # profile (standard), which would otherwise be optional. See the output
  10. # of "drush help si" from where this is taken.
  11. drush si \
  12. -y \
  13. --db-url=mysql://root:@database/drupal \
  14. --account-name=admin \
  15. --account-pass=admin \
  16. standard \
  17. install_configure_form.update_status_module='array(FALSE,FALSE)'
  18. drush en realistic_dummy_content devel_generate devel -y