Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if [ -z "$1" ]; then
- dropdb --username=postgres -password=xxx --port=5432 visibilityrevolution
- createdb --username=postgres -password=xxx --port=5432 visibilityrevolution
- ./manage.py syncdb
- else
- ./manage.py syncdb
- ./manage.py loaddata mainsite/fixutures/business.json
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement