Skip to content

Instantly share code, notes, and snippets.

@jaredlockhart
Created February 9, 2016 21:18
Show Gist options
  • Save jaredlockhart/c098da5e88a34cedf032 to your computer and use it in GitHub Desktop.
Save jaredlockhart/c098da5e88a34cedf032 to your computer and use it in GitHub Desktop.
docker run --net=host -t leaderboard sh -c 'echo "from leaderboard.locations.models import Country;Country.objects.all().delete()" | python manage.py shell; python manage.py migrate --noinput; sh ./scripts/setup_countries.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment