summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-25 18:04:04 +0000
committerng0 <ng0@n0.is>2019-09-25 18:04:04 +0000
commit107efba7d60ff0a3d56b48661d70d5842395a836 (patch)
treea5b2d9d17bb5794fd5668be5f6734154e5d0acdd /README
parenteeff7dbd327d5e136ac9998b9f2e077a9e4a78a7 (diff)
parent498b14392f7f828af1a239d680da27b859f85033 (diff)
downloadsurvey-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--README63
1 files changed, 63 insertions, 0 deletions
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=<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