Last active
December 16, 2015 07:48
-
-
Save shrop/5401142 to your computer and use it in GitHub Desktop.
A bash script to run when you want to configure your local development environment for Drupal development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Configuring local development environment for local.site..." | |
# Change directory to the webroot. | |
cd /var/www | |
# Sanitize the database. | |
drush sql-sanitize -y | |
# Disable modules. | |
drush dis -y ldap_authentication | |
# Enable modules. | |
drush en devel -y | |
drush en devel_generate -y | |
drush en reroute_email -y | |
# Clear Drupal caches. | |
drush cc all | |
echo "Environment configuration complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment