Use freezer-manage instead of freezer-db-init

As freezer-db-init has been removed, should use freezer-manage to
initialize database in doc.

Change-Id: I9c9a0c17856b592f27f9d1940ea55758deb707f9
This commit is contained in:
lvdongbing 2017-09-08 15:11:23 +08:00
parent 419f1876bc
commit 0f1bd0017d
1 changed files with 3 additions and 3 deletions

View File

@ -91,8 +91,8 @@ Edit config file:
# supported db engine. currently elasticsearch only
db=elasticsearch
hosts='http://[elasticsearch host address]:9200'
# freezer-db-init uses the following parameter to set the number of replicas
number_of_replicas=1 # replicas must be set to 1
# freezer-manage db sync/update uses the following parameter to set the number of replicas
number_of_replicas=1
Follow this instructions to install Elasticsearch 1.7.5:
@ -116,7 +116,7 @@ Let's initialize database:
.. code:: bash
freezer-db-init [db-host] # usually localhost
freezer-manage db sync
Run Freezer API: