Advertisement
Guest User

Untitled

a guest
Jul 6th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. #!/bin/sh
  2. if [ -z "$1" ]; then
  3.     dropdb --username=postgres -password=xxx --port=5432 visibilityrevolution
  4.     createdb --username=postgres -password=xxx --port=5432 visibilityrevolution
  5.     ./manage.py syncdb
  6. else
  7.     ./manage.py syncdb
  8.     ./manage.py loaddata mainsite/fixutures/business.json
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement