mirror of https://github.com/zulip/zulip.git
11 lines
357 B
Bash
Executable File
11 lines
357 B
Bash
Executable File
#!/bin/sh -xe
|
|
|
|
echo "DROP SCHEMA zulip CASCADE; CREATE SCHEMA zulip;" | python manage.py dbshell
|
|
|
|
python manage.py syncdb --noinput
|
|
python manage.py migrate
|
|
python manage.py createcachetable third_party_api_results
|
|
python manage.py populate_db -n100 --threads=1
|
|
# Ensure that the local user's API key is synced from ~/.zuliprc
|
|
python manage.py sync_api_key
|