Last active
August 29, 2015 14:02
-
-
Save openjck/b69445fa3e34e1780377 to your computer and use it in GitHub Desktop.
Take common steps to fix the Kuma development environment. Basically the equivalent of resetting Firefox or unplugging a router. Restarts as much as possible without losing data.
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 | |
# Configuration | |
KUMA_ROOT=/path/to/kuma | |
# Script | |
# https://www.youtube.com/watch?v=ckIMuvumYrg | |
pushd . | |
cd $KUMA_ROOT | |
vagrant halt | |
find . -name "*.pyc" -exec rm -rf {} \; &&\ | |
git submodule sync --recursive &&\ | |
git submodule update --init --recursive &&\ | |
vagrant up --provision &&\ | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment