mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
This should substantially improve the repeat-rendering time for pages with large numbers of tweets since we don't need to go all the way to twitter.com, which can take like a second, to render tweets properly. To deploy this commit properly, one needs to run ./manage.py createcachetable third_party_api_results (imported from commit 01b528e61f9dde2ee718bdec0490088907b6017e)
10 lines
348 B
Bash
Executable File
10 lines
348 B
Bash
Executable File
#!/bin/sh -xe
|
|
|
|
echo "DROP SCHEMA humbug CASCADE; CREATE SCHEMA humbug;" | python manage.py dbshell
|
|
|
|
python manage.py syncdb --noinput
|
|
python manage.py migrate
|
|
python manage.py createcachetable third_party_api_results
|
|
echo "CREATE UNIQUE INDEX ON auth_user (email);" | python manage.py dbshell
|
|
python manage.py populate_db --replay-old-messages -n0
|