summaryrefslogtreecommitdiff
path: root/libeufin/int-deployment-gv.rst
blob: b3a12935884933f4d05e6060758b5e28de481bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.. target audience: operator, developer

Deploying Taler with libEufin
#############################

.. contents:: Table of Contents

This document shows how to compile and run all
the Taler services (including libEuFin).

Deployment on Gv
----------------

After having pulled the latest code of deployment.git:

.. code-block:: console

   $ python3 deployment/bin/WIP/taler-local bootstrap
   $ python3 deployment/bin/WIP/taler-local build
   $ python3 deployment/bin/WIP/taler-local prepare

The last step offers also a way to specify the database
name -- only the PostgreSQL at this time -- and the hostname
of the reverse proxy.  See ``--help`` for more information.

At this point, the services can be launched, and will be
served at ``$hostname/$service``.  The following command
will launch all the services and show what ``$service``
can be:

.. code-block:: console

   $ python3 deployment/bin/WIP/taler-local launch

.. note::

   In this context, one reverse proxy gets launched
   along all the Taler services and will dispatch any request
   to ``$service`` to the respective Unix domain socket.

Withdraw with Taler
-------------------

The following command withdraws a fixed amount of 5 units of currency
to the CLI wallet:

.. code-block:: console

   $ python3 deployment/bin/WIP/taler-local withdraw

The requests will be addressed to the default Sandbox, unless
``--bank-host`` (and ``--bank-proto``) were given; see ``--help``
for more information.

.. note::

   To test phone wallets, the option ``--with-qr-code``
   can be specified.  That will print a QR code on screen, and
   wait for the user's input before confirming the payment to
   the Exchange.

Taler Internal deployment
-------------------------

One deployment is currently hosted at ``int.taler.net``.

Withdraw:

.. code-block:: console

   $ python3 deployment/bin/WIP/taler-local withdraw --bank-host int.taler.net --bank-proto https