diff --git a/README.md b/README.md index 7ff9f05b49..dfbe50e111 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ pip install -r requirements.txt ./scripts/setup/generate_secrets.py -d sudo cp ./puppet/zulip/files/postgresql/zulip_english.stop /usr/share/postgresql/9.3/tsearch_data/ ./scripts/setup/configure-rabbitmq -./tools/postgres-init-db +./tools/postgres-init-dev-db ./tools/do-destroy-rebuild-database ./tools/postgres-init-test-db ./tools/do-destroy-rebuild-test-database diff --git a/provision.py b/provision.py index a4c02769ab..f13466571c 100644 --- a/provision.py +++ b/provision.py @@ -175,7 +175,7 @@ def main(): os.system("sudo service redis-server restart") os.system("sudo service memcached restart") sh.configure_rabbitmq(**LOUD) - sh.postgres_init_db(**LOUD) + sh.postgres_init_dev_db(**LOUD) sh.do_destroy_rebuild_database(**LOUD) sh.postgres_init_test_db(**LOUD) sh.do_destroy_rebuild_test_database(**LOUD) diff --git a/tools/postgres-init-db b/tools/postgres-init-dev-db similarity index 100% rename from tools/postgres-init-db rename to tools/postgres-init-dev-db diff --git a/tools/postgres-init-test-db b/tools/postgres-init-test-db index 69a68bf9b5..f67ae3b669 100755 --- a/tools/postgres-init-test-db +++ b/tools/postgres-init-test-db @@ -1,3 +1,3 @@ #!/bin/bash -xe -"$(dirname "$0")/postgres-init-db" zulip_test "$("$(dirname "$0")/../bin/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public +"$(dirname "$0")/postgres-init-dev-db" zulip_test "$("$(dirname "$0")/../bin/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public