Skip to content

Instantly share code, notes, and snippets.

@esoergel
Last active August 29, 2015 14:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save esoergel/782725cd6c8956fc9d21 to your computer and use it in GitHub Desktop.
Save esoergel/782725cd6c8956fc9d21 to your computer and use it in GitHub Desktop.
Update everything
function hammer() {
git checkout master
git pull origin master
git submodule update --init --recursive
pip install -r requirements/requirements.txt -r requirements/dev-requirements.txt -r ⤷ requirements/prod-requirements.txt
find . -name '*.pyc' -delete
./manage.py syncdb --migrate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment