Created
March 21, 2014 15:40
-
-
Save heyMP/9689031 to your computer and use it in GitHub Desktop.
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
buildir=`date +%m-%d-%Y-%I-%M` | |
echo $buildir | |
git clone [email protected]:phase2tech/psu.edu.git psu_profile | |
cd psu_profile | |
git checkout $1 | |
cd .. | |
bash psu_profile/build.sh $buildir | |
cd $buildir | |
cp ../html/.htaccess ./ | |
cd .. | |
rm html | |
ln -s $buildir html | |
cd html/profiles/psu_profile | |
drush updatedb -y | |
drush cc all | |
drush dis securepages -y | |
drush dis cosign -y | |
drush en stage_file_proxy -y | |
drush vset --yes cosign_enabled 0 | |
drush vset --yes purge_enabled 0 | |
drush vset --yes psu_newswires_send FALSE | |
drush vset --yes stage_file_proxy_origin http://www.psu.edu | |
drush vset --yes preprocess_css 0 | |
drush vset --yes preprocess_js 0 | |
drush fr-all -y | |
drush upwd admin --password='root' # Set the admin password as 'root' | |
drush cc all | |
drush uli #optional: log-in as admin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment