mirror of
https://github.com/zulip/zulip.git
synced 2026-06-12 21:00:58 +08:00
19 lines
389 B
Bash
Executable File
19 lines
389 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
# Change to root directory of the checkout that we're running from
|
|
cd $(dirname $0)/../..
|
|
|
|
psql <<EOF
|
|
DROP SCHEMA zulip CASCADE;
|
|
DROP SCHEMA public CASCADE;
|
|
CREATE SCHEMA zulip;
|
|
EOF
|
|
|
|
python manage.py checkconfig
|
|
|
|
python manage.py migrate --noinput
|
|
python manage.py createcachetable third_party_api_results
|
|
python manage.py initialize_voyager_db
|
|
|
|
supervisorctl restart all
|