Files
zulip/scripts/setup/initialize-database
Reid Barton a3d85f501b Create tsearch_extras in production database setup
(imported from commit e6c699b06f022d923b57ccee7ad778f870bf890d)
2015-08-21 16:54:35 -07:00

13 lines
297 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