From 3e735d36d10f0846d6e3fac8e48e6d1e2f936d9f Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 13 Oct 2015 18:54:17 -0400 Subject: [PATCH] Rename tools/postgres-init-db to tools/postgres-init-dev-db. The previous name was confusing because we also have scripts/setup/postgres-init-db. --- README.md | 2 +- provision.py | 2 +- tools/{postgres-init-db => postgres-init-dev-db} | 0 tools/postgres-init-test-db | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename tools/{postgres-init-db => postgres-init-dev-db} (100%) 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