summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.py2
-rw-r--r--manpages/taler-merchant-dbinit.1.rst62
2 files changed, 64 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index c3ea73a0..4fb7450d 100644
--- a/conf.py
+++ b/conf.py
@@ -308,6 +308,8 @@ man_pages = [
("manpages/taler-merchant-benchmark.1", "taler-merchant-benchmark",
"generate Taler-style benchmarking payments", "GNU Taler contributors",
1),
+ ("manpages/taler-merchant-dbinit.1", "taler-merchant-dbinit",
+ "initialize Taler merchant database", "GNU Taler contributors", 1),
("manpages/taler-merchant-httpd.1", "taler-merchant-httpd",
"run Taler merchant backend (with RESTful API)", "GNU Taler contributors",
1),
diff --git a/manpages/taler-merchant-dbinit.1.rst b/manpages/taler-merchant-dbinit.1.rst
new file mode 100644
index 00000000..eae56edf
--- /dev/null
+++ b/manpages/taler-merchant-dbinit.1.rst
@@ -0,0 +1,62 @@
+taler-merchant-dbinit(1)
+########################
+
+.. only:: html
+
+ Name
+ ====
+
+ **taler-merchant-dbinit** - initialize Taler merchant database
+
+
+Synopsis
+========
+
+**taler-merchant-dbinit**
+[**-c** *FILENAME* | **––config=**\ ‌\ *FILENAME*]
+[**-h** | **––help**]
+[**-L** *LOGLEVEL* | **––loglevel=**\ ‌\ *LOGLEVEL*]
+[**-l** *FILENAME* | **––logfile=**\ ‌\ *FILENAME*]
+[**-r** | **––reset**]
+[**-v** | **––version**]
+
+Description
+===========
+
+**taler-merchant-dbinit** is a command-line tool to initialize the Taler
+merchant database. It creates the necessary tables and indices for the
+Taler merchant to operate.
+
+Its options are as follows:
+
+**-c** *FILENAME* \| **––config=**\ ‌\ *FILENAME*
+ Use the configuration and other resources for the merchant to operate
+ from *FILENAME*.
+
+**-h** \| **––help**
+ Print short help on options.
+
+**-L** *LOGLEVEL* \| **––loglevel=**\ ‌\ *LOGLEVEL*
+ Specifies the log level to use. Accepted values are: ``DEBUG``, ``INFO``,
+ ``WARNING``, ``ERROR``.
+
+**-l** *FILENAME* \| **––logfile=**\ ‌\ *FILENAME*
+ Send logging output to *FILENAME*.
+
+**-r** \| **––reset**
+ Drop tables. Dangerous, will delete all existing data in the database
+ before creating the tables.
+
+**-v** \| **–version**
+ Print version information.
+
+See Also
+========
+
+taler-merchant-httpd(1), taler-merchant-setup-reserve(1), taler.conf(5).
+
+Bugs
+====
+
+Report bugs by using https://bugs.taler.net or by sending electronic
+mail to <taler@gnu.org>.