zulip/scripts/setup/initialize-database

13 lines
301 B
Bash
Executable File

#!/bin/bash -xe
# Change to root directory of the checkout that we're running from
cd "$(dirname "$0")/../.."
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