summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-21 22:43:20 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-21 22:43:20 +0100
commit89a116626146493c36d11822ede6e01959e7645c (patch)
tree1f8eec2fb707dbac8efe1d5360b8a81767bcf10b
parent14e82828e42307265dacba51073931f798924441 (diff)
downloaddocs-89a116626146493c36d11822ede6e01959e7645c.tar.gz
docs-89a116626146493c36d11822ede6e01959e7645c.tar.bz2
docs-89a116626146493c36d11822ede6e01959e7645c.zip
dbinit instructions
-rw-r--r--deployment.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/deployment.rst b/deployment.rst
index 7281fd21..c0b07e43 100644
--- a/deployment.rst
+++ b/deployment.rst
@@ -199,6 +199,25 @@ The next step is to generate `signkeys` and `denomkeys`.
policy of 12-chars limit for currency names; which is likely going to
be changed.
+It may be necessary to define database tables for the exchange. The
+following command does that.
+
+.. code-block:: none
+
+ # Erase all the data!
+ $ taler-exchange-dbinit -r
+
+As of the merchant backend, it creates tables at launch time, so it is
+not required to define tables before launching it. `However`, if some
+table's definition changed over the time, and there is a need to force
+a redefinition of tables, then the following command accomplishes that
+for the merchant:
+
+.. code-block:: none
+
+ # Erase all the data!
+ $ taler-merchant-dbinit -r
+
If all previous steps succeeded, it is now possible to launch all the
processes. That is accomplished by the following command: