summaryrefslogtreecommitdiff
path: root/libeufin/demo-deployment-gv.rst
blob: 494625793dddbe0726bdf8ab8ef5b80a0471a5de (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
.. target audience: operator, developer

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

.. contents:: Table of Contents

This guide shows the steps to set up libEufin as the bank
for Taler.  At this stage, only three constant bank accounts
are allowed, and the withdrawal can be triggered via the
command line interface.

This document is more a set of notes for internal use than
a actual document for system administrators.

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

After having pulled the latest code of deployment.git:

.. code-block:: console

   # The step below destroys data!
   $ rm -fr ~/taler-data/*
   # For the step below, the environment must be called 'int'.
   $ taler-deployment bootstrap
   $ taler-deployment build
   # The step below destroys data!
   $ taler-deployment-prepare-with-eufin resetDb
   $ taler-deployment-restart-with-eufin

At this point, the file ~/libeufin_admin_password should exist
and contain the password for the 'admin' user of the Sandbox.  This
user is *also* the one that can withdraw with Taler.

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

.. code-block:: console
   
   $ http --auth admin:$password $hostname/eufin/sandbox/taler

The previous step should have returned a taler://-URI that
can be passed to the wallet:


.. code-block:: console

   $ taler-wallet-cli handle-uri $taler_uri