From 44f74f2ce694a95a7f73febea029b9f3a2cf4e82 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 27 May 2019 18:39:46 +0200 Subject: readme --- README | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..172e68f --- /dev/null +++ b/README @@ -0,0 +1,63 @@ +Installation instructions +------------------------- + +First, initialize the configure script. + +$ ./bootstrap + +Then, choose the installation prefix + +$ ./configure --prefix= + +Last, install + +$ make install + +Optionally, to run tests: + +$ make check + +Configuration options. +---------------------- + +The following configuration excerpt shows all the options +accepted by the survey shop. + +$ cat ~/.config/taler.conf + +[frontends] + +# Merchant backend to use. +backend = http://backend.test.taler.net/ + +# This value will fill: "Authorization: ApiKey " +backend_apikey = sandbox + +[survey] + +# The following three options configure the way the blog +# will serve UWSGI requests via unix domain sockets. +uwsgi_serve = unix +uwsgi_unixpath = /path/to/survey.uwsgi +uwsgi_unixpath_mode = 660 + +# The following option picks the merchant instance that +# will be represented by the running blog. +instance = default + +Running instructions +-------------------- + +The following command launches the blog to serve HTTP requests +on the port . + +$ taler-merchant-survey serve-http -p + +The following command launches the blog to serve UWSGI requests +via a unix domain socket. + +$ taler-merchant-survey serve-uwsgi + +Finally, get a help message with the following command + +$ taler-merchant-survey --help -- cgit v1.2.3