mirror of https://github.com/zulip/zulip.git
16 lines
407 B
Bash
Executable File
16 lines
407 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
# Change to root directory of the checkout that we're running from
|
|
cd $(dirname $0)/../..
|
|
|
|
echo "DROP SCHEMA zulip CASCADE; CREATE SCHEMA zulip;" | python manage.py dbshell
|
|
|
|
python manage.py checkconfig
|
|
|
|
python manage.py syncdb --noinput
|
|
python manage.py migrate
|
|
python manage.py createcachetable third_party_api_results
|
|
python manage.py initialize_enterprise_db
|
|
|
|
supervisorctl restart all
|