summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-25 19:27:38 +0000
committerng0 <ng0@n0.is>2019-09-25 19:27:38 +0000
commit6a346edfe7fad92abbf6d7f6fc2e04602eff3d10 (patch)
tree0584b8949ae7e7b382914ea9155f31a959030b73 /README
parent3aeaaa760a4bc00d35b1faa0c7bde47e9a00b9b3 (diff)
parent38acb9f039fb01a7bc0aef8b93a277e919899ae9 (diff)
downloaddonations-6a346edfe7fad92abbf6d7f6fc2e04602eff3d10.tar.gz
donations-6a346edfe7fad92abbf6d7f6fc2e04602eff3d10.tar.bz2
donations-6a346edfe7fad92abbf6d7f6fc2e04602eff3d10.zip
Merge branch 'master' of git.taler.net:donations
Diffstat (limited to 'README')
-rw-r--r--README63
1 files changed, 63 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..586a9e7
--- /dev/null
+++ b/README
@@ -0,0 +1,63 @@
+Installation instructions
+-------------------------
+
+First, initialize the configure script.
+
+$ ./bootstrap
+
+Then, choose the installation prefix
+
+$ ./configure --prefix=<prefix>
+
+Last, install
+
+$ make install
+
+Optionally, to run tests:
+
+$ make check
+
+Configuration options.
+----------------------
+
+The following configuration excerpt shows all the options
+accepted by the donations shop.
+
+$ cat ~/.config/taler.conf
+
+[frontends]
+
+# Merchant backend to use.
+backend = http://backend.test.taler.net/
+
+# This value will fill: "Authorization: ApiKey <fill here>"
+backend_apikey = sandbox
+
+[donations]
+
+# The following three options configure the way the donations
+# shop will serve UWSGI requests via unix domain sockets.
+uwsgi_serve = unix
+uwsgi_unixpath = /path/to/donations.uwsgi
+uwsgi_unixpath_mode = 660
+
+# The following option picks the merchant instance that
+# will be represented by the running donations shop.
+instance = default
+
+Running instructions
+--------------------
+
+The following command launches the donations shop
+to serve HTTP requests on the port <port>.
+
+$ taler-merchant-donations serve-http -p <port>
+
+The following command launches the donations shop
+to serve UWSGI requests via a unix domain socket.
+
+$ taler-merchant-donations serve-uwsgi
+
+Finally, get a help message with the following command
+
+$ taler-merchant-donations --help