Last active
August 19, 2018 14:39
-
-
Save mrded/6340784 to your computer and use it in GitHub Desktop.
Drush script for resetting Drupal sandbox.
This file contains 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 '✩✩✩✩ Update modules ✩✩✩✩' | |
drush -y up | |
echo '✩✩✩✩ Reinstall Drupal ✩✩✩✩' | |
drush -y site-install standard --account-name=admin --account-pass=admin | |
echo 'Disable modules' | |
drush -y dis dashboard overlay toolbar | |
echo '✩✩✩✩ Download Modules ✩✩✩✩' | |
drush -y dl devel admin_menu jquery_update module_filter panels views bootstrap | |
echo '✩✩✩✩ Enable Modules ✩✩✩✩' | |
drush -y en devel admin_menu jquery_update module_filter panels views bootstrap | |
drush -y vset theme_default bootstrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment