mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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
@@ -11,11 +11,11 @@ EOF
|
||||
|
||||
sh "$(dirname "$0")/../scripts/setup/flush-memcached"
|
||||
|
||||
python manage.py migrate --noinput
|
||||
python manage.py createcachetable third_party_api_results
|
||||
python manage.py populate_db -n100 --threads=1
|
||||
./manage.py migrate --noinput
|
||||
./manage.py createcachetable third_party_api_results
|
||||
./manage.py populate_db -n100 --threads=1
|
||||
# Ensure that the local user's API key is synced from ~/.zuliprc
|
||||
|
||||
if [ -e ~/.zuliprc ]; then
|
||||
python manage.py sync_api_key
|
||||
./manage.py sync_api_key
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user