2012-08-31 20:09:39 +02:00
|
|
|
#!/bin/sh
|
2012-09-04 22:31:56 +02:00
|
|
|
mkdir -p zephyr/fixtures
|
2012-10-02 18:02:39 +02:00
|
|
|
rm -f zephyr/fixtures/zephyrdb.test
|
2012-10-01 23:33:23 +02:00
|
|
|
python manage.py syncdb --noinput --settings=humbug.test-settings
|
|
|
|
python manage.py populate_db --settings=humbug.test-settings -n20
|
2012-10-03 21:05:48 +02:00
|
|
|
python manage.py dumpdata --settings=humbug.test-settings auth.User zephyr.UserProfile zephyr.ZephyrClass zephyr.Recipient zephyr.Subscription zephyr.Message zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/zephyrs.json
|