Skip to content

Instantly share code, notes, and snippets.

@mrded
Last active August 19, 2018 14:39
Show Gist options
  • Save mrded/6340784 to your computer and use it in GitHub Desktop.
Save mrded/6340784 to your computer and use it in GitHub Desktop.
Drush script for resetting Drupal sandbox.
#!/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