2012-12-14 23:38:19 +01:00
|
|
|
#!/bin/sh -xe
|
2012-10-30 21:11:37 +01:00
|
|
|
|
2013-02-26 22:08:10 +01:00
|
|
|
echo "DROP SCHEMA humbug CASCADE; CREATE SCHEMA humbug;" | python manage.py dbshell
|
2012-10-30 21:11:37 +01:00
|
|
|
|
2013-05-06 18:24:47 +02:00
|
|
|
python manage.py syncdb --noinput
|
2013-02-22 23:51:08 +01:00
|
|
|
python manage.py migrate
|
2013-03-11 16:23:34 +01:00
|
|
|
python manage.py createcachetable third_party_api_results
|
2013-07-08 17:51:49 +02:00
|
|
|
python manage.py populate_db -n100 --threads=1
|
2013-06-12 17:39:10 +02:00
|
|
|
# Ensure that the local user's API key is synced from ~/.humbugrc
|
2013-05-29 17:39:10 +02:00
|
|
|
python manage.py sync_api_key
|