Last active
October 12, 2015 07:48
-
-
Save tmbritton/3994107 to your computer and use it in GitHub Desktop.
After Drupal DB import shell script
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 | |
#script to clean up after new Drupal import from prod | |
#execute from a directory inside your Drupal docroot | |
drush dis cdn --yes | |
drush en views_ui --yes | |
drush en devel --yes | |
drush en context_ui --yes | |
drush en stage_file_proxy --yes | |
drush vset preprocess_css 0 --yes | |
drush vset preprocess_js 0 --yes | |
drush vset uglifyjs_skip_uglify 1 --yes | |
drush sql-query 'UPDATE `search_api_index` SET `read_only` = "1"' | |
drush cc all --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment