Last active
December 14, 2015 23:29
-
-
Save kflorence/5166232 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
# Put this in ~/.bash_profile on your devbox | |
# Run it like: $ update-config | |
function update-config { | |
echo "Updating config..." | |
cd /usr/wikia/docroot | |
git pull --rebase | |
mkdir -p wiki.factory | |
ln -sf /usr/wikia/source/wiki/extensions/wikia/Development/Configs_DevBox/LocalSettings.php wiki.factory/LocalSettings.php | |
perl /usr/wikia/docroot/clinks.pl --source=/usr/wikia/source/wiki --docroot=/usr/wikia/docroot/wiki.factory | |
touch /usr/wikia/docroot/DevBoxSettings.php | |
sudo service apache2 restart | |
echo "Done." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment