Skip to content

Instantly share code, notes, and snippets.

@jacoor
Created July 16, 2014 06:49
Show Gist options
  • Save jacoor/c8207d55dea8ec9de1e3 to your computer and use it in GitHub Desktop.
Save jacoor/c8207d55dea8ec9de1e3 to your computer and use it in GitHub Desktop.
Simple script to get local django dev up to date. Mac version. Paste it into your local repository, just make sure to set file to be ignored by git.
#!/bin/bash
git pull
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install -r requirements.txt
./manage.py migrate
sh ./scripts/bind_solr.sh
./manage.py rebuild_index --noinput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment