File: DOCKER.rst

package info (click to toggle)
ofxstatement-plugins 20210310
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,964 kB
  • sloc: python: 7,219; xml: 1,027; makefile: 167; sh: 92
file content (69 lines) | stat: -rw-r--r-- 1,434 bytes parent folder | download | duplicates (4)
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
Docker
======

It is possible to use this plugin from a throw-away docker container. This is done with the help of
`whalebrew <https://github.com/bfirsh/whalebrew>`_.

How
===

Build a docker image:

.. code-block::

    $ make docker

Install my very own brew tap:

.. code-block::

    $ brew tap themalkolm/brew
    $ brew update

Now you can install whalebrew:

.. code-block::

    $ brew install whalebrew

Verify whalebrew installed correctly:

.. code-block::

    $ whalebrew install whalebrew/whalesay
    $ whalesay Hello
     _______ 
    < Hello >
     ------- 
        \
         \
          \
                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/    

Now you can install docker image as a whalebrew command (note the version!):

.. code-block::

    $ whalebrew install local/ofxstatement-lfs:0.0.1

Now you have a whalebrew command to run this plugin.

.. code-block::

    $ ofxstatement-lfs -h
    $ ofxstatement-lfs list-plugins

Well, yes even though it is named ofxstatement-lfs, in reality it is nothing
more but an ofxstatement installation with ofxstatement-lfs plugin
pre-installed:

.. code-block::

    $ ofxstatement-lfs convert -t lfs Kontoutdrag.xls statements.ofx