aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/installation.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinx/installation.rst')
-rw-r--r--doc/sphinx/installation.rst175
1 files changed, 175 insertions, 0 deletions
diff --git a/doc/sphinx/installation.rst b/doc/sphinx/installation.rst
new file mode 100644
index 0000000..225160f
--- /dev/null
+++ b/doc/sphinx/installation.rst
@@ -0,0 +1,175 @@
1..
2 This file is part of Anastasis
3 Copyright (C) 2019-2021 Anastasis SARL
4
5 Anastasis is free software; you can redistribute it and/or modify it under the
6 terms of the GNU Affero General Public License as published by the Free Software
7 Foundation; either version 2.1, or (at your option) any later version.
8
9 Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
12
13 You should have received a copy of the GNU Affero General Public License along with
14 Anastasis; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
15
16 @author Christian Grothoff
17 @author Dominik Meister
18 @author Dennis Neufeld
19
20------------
21Installation
22------------
23
24Please install the following packages before proceeding with the
25exchange compilation.
26
27.. include:: frags/list-of-dependencies.rst
28
29- GNU Taler exchange
30
31- GNU Taler merchant backend
32
33Except for the last two, these are available in most GNU/Linux distributions
34and should just be installed using the respective package manager.
35
36
37Installing from source
38----------------------
39
40The following instructions will show how to install libgnunetutil and
41the GNU Taler exchange from source.
42
43Installing GNUnet
44^^^^^^^^^^^^^^^^^
45
46.. include:: frags/installing-gnunet.rst
47
48Installing the Taler Exchange
49^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
51.. include:: frags/installing-taler-exchange.rst
52
53Installing the Taler Merchant
54^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55
56.. include:: frags/installing-taler-merchant.rst
57
58Installing Anastasis
59^^^^^^^^^^^^^^^^^^^^
60
61.. include:: frags/installing-anastasis.rst
62
63Installing GNUnet-gtk
64^^^^^^^^^^^^^^^^^^^^^
65
66.. include:: frags/installing-gnunet-gtk.rst
67
68Installing Anastasis-gtk
69^^^^^^^^^^^^^^^^^^^^^^^^
70
71.. include:: frags/installing-anastasis-gtk.rst
72
73
74
75Installing Anastasis binary packages on Debian
76----------------------------------------------
77
78.. include:: frags/installing-debian.rst
79
80
81Installing the graphical front-end
82^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
83
84To install the Anastasis Gtk+ frontend, you can simply run:
85
86.. code-block:: console
87
88 # apt install anastasis-gtk
89
90To use ``anastasis-gtk``, you can simply run:
91
92.. code-block:: console
93
94 $ anastasis-gtk
95
96
97Installing the backend
98^^^^^^^^^^^^^^^^^^^^^^
99
100If you want to install the Anastasis backend-end (which normal users do not
101need), you should run:
102
103.. code-block:: console
104
105 # apt install -t sid anastasis-httpd
106
107Note that the latter package does not perform all of the configuration work.
108It does setup the user users and the systemd service scripts, but you still
109must configure the database backup, HTTP reverse proxy (typically with TLS
110certificates), Taler merchant backend for payments, authentication services,
111prices and the terms of service.
112
113Sample configuration files for the HTTP reverse proxy can be found in
114``/etc/anastasis.conf``.
115
116Note that the package does not complete the integration of the backend
117with the HTTP reverse proxy (typically with TLS certificates). A
118configuration fragment for Nginx or Apache will be placed in
119``/etc/{apache,nginx}/conf-available/anastasis.conf``.
120
121To operate an Anastasis backend with payments, you additionally
122need to install a Taler merchant backend via:
123
124.. code-block:: console
125
126 # apt install -t sid taler-merchant-httpd
127
128
129
130Installing Anastasis binary packages on Ubuntu
131----------------------------------------------
132
133.. include:: frags/installing-ubuntu.rst
134
135Installing the graphical front-end
136^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
137
138To install the Anastasis front-end, you can now simply run:
139
140.. code-block:: console
141
142 # apt install -t focal-fossa anastasis-gtk
143
144To use ``anastasis-gtk``, you can simply run:
145
146.. code-block:: console
147
148 $ anastasis-gtk
149
150
151Installing the backend
152^^^^^^^^^^^^^^^^^^^^^^
153
154If you want to install the Anastasis backend-end (which normal users do not
155need), you should run:
156
157.. code-block:: console
158
159 # apt install -t focal-fossa anastasis-httpd
160
161Note that the latter package does not perform all of the configuration work.
162It does setup the user users and the systemd service scripts, but you still
163must configure the database backup, HTTP reverse proxy (typically with TLS
164certificates), Taler merchant backend for payments, authentication services,
165prices and the terms of service.
166
167Sample configuration files for the HTTP reverse proxy can be found in
168``/etc/anastasis.conf``.
169
170To operate an Anastasis backend with payments, you additionally
171need to install a Taler merchant backend via:
172
173.. code-block:: console
174
175 # apt install -t sid taler-merchant-httpd