mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
Always start python via shebang lines.
This is preparation for supporting using Python 3 in production. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
2d6525df04
commit
207cf6302b
@@ -4,12 +4,12 @@ set -xe
|
||||
# Change to root directory of the checkout that we're running from
|
||||
cd "$(dirname "$0")/../.."
|
||||
|
||||
python manage.py checkconfig
|
||||
./manage.py checkconfig
|
||||
|
||||
python manage.py migrate --noinput
|
||||
python manage.py createcachetable third_party_api_results
|
||||
./manage.py migrate --noinput
|
||||
./manage.py createcachetable third_party_api_results
|
||||
|
||||
if ! python manage.py initialize_voyager_db; then
|
||||
if ! ./manage.py initialize_voyager_db; then
|
||||
set +x
|
||||
echo
|
||||
echo -e "\033[32mPopulating default database failed."
|
||||
|
||||
Reference in New Issue
Block a user