mirror of https://github.com/zulip/zulip.git
10 lines
467 B
Bash
Executable File
10 lines
467 B
Bash
Executable File
#!/bin/sh -e
|
|
mkdir -p zephyr/fixtures
|
|
rm -f zephyr/tests/zephyrdb.test
|
|
python manage.py syncdb --noinput --settings=humbug.test_settings
|
|
python manage.py populate_db --settings=humbug.test_settings -n20
|
|
python manage.py dumpdata --settings=humbug.test_settings \
|
|
auth.User zephyr.UserProfile zephyr.Stream zephyr.Recipient \
|
|
zephyr.Subscription zephyr.Message zephyr.Huddle zephyr.Realm \
|
|
zephyr.UserMessage zephyr.Client > zephyr/fixtures/messages.json
|