diff options
author | ng0 <ng0@n0.is> | 2019-09-25 18:04:04 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-25 18:04:04 +0000 |
commit | 107efba7d60ff0a3d56b48661d70d5842395a836 (patch) | |
tree | a5b2d9d17bb5794fd5668be5f6734154e5d0acdd /README | |
parent | eeff7dbd327d5e136ac9998b9f2e077a9e4a78a7 (diff) | |
parent | 498b14392f7f828af1a239d680da27b859f85033 (diff) | |
download | survey-107efba7d60ff0a3d56b48661d70d5842395a836.tar.gz survey-107efba7d60ff0a3d56b48661d70d5842395a836.tar.bz2 survey-107efba7d60ff0a3d56b48661d70d5842395a836.zip |
Merge branch 'master' of git.taler.net:survey
Diffstat (limited to 'README')
-rw-r--r-- | README | 63 |
1 files changed, 63 insertions, 0 deletions
@@ -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 survey 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 + +[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 <port>. + +$ taler-merchant-survey serve-http -p <port> + +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 |