Skip to content

Commit

Permalink
Disable sync_api_key if no zuliprc
Browse files Browse the repository at this point in the history
(imported from commit f9e7f924c00230137ca45c204158b709cd311ebb)
  • Loading branch information
lfaraone committed Aug 16, 2015
1 parent 8ea139c commit 81a2a20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/do-destroy-rebuild-database
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ python manage.py migrate
python manage.py createcachetable third_party_api_results
python manage.py populate_db -n100 --threads=1
# Ensure that the local user's API key is synced from ~/.zuliprc
python manage.py sync_api_key

if [ -e ~/.zuliprc ]; then
python manage.py sync_api_key
fi

0 comments on commit 81a2a20

Please sign in to comment.