blob: 57684e44170c6c369a55612f5e25b41c71bc943c (
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
|
# Installing Lorry Controller
## Dependencies
Required:
* **Python 3**: Tested with versions 3.6 and 3.8.
* **Git**: Tested with versions 2.11 and 2.27.
* **Lorry**: Also note the dependencies in its README.
* **Bottle**: Can be installed from PyPI, or as the `python3-bottle`
package in Debian. Tested with version 0.12.18.
* **cliapp**: Can be installed as the `python3-cliapp` package in
Debian, or with:
pip3 install https://gitlab.com/trovekube/cliapp/-/archive/cliapp-1.20180812.1/cliapp-cliapp-1.20180812.1.tar.gz
or from the source at <https://liw.fi/cliapp/>. Tested with version
1.20180812.1.
* **PyYAML**: Can be installed from PyPI, or as the `python3-yaml`
package in Debian. Tested with version 5.3.1.
* **yoyo-migrations**: Can be installed from PyPI. Tested with
version 7.0.2.
Optional:
* **curl**: Needed if you want to run the test suite. Can be
installed as a distribution package. Tested with versions 7.52.1
and 7.70.0.
* **flup**: Needed if you want to run the web application as a FastCGI
server. Can be installed from PyPI. Tested with version 1.0.3, and
earlier versions won't run on Python 3.
* **OpenSSH**: The OpenSSH client is needed if you want to use any
Downstream Host other than the local filesystem. Tested with
versions 7.4p1 and 8.2p1.
* **python-gitlab**: Needed if you want to use GitLab as a Downstream
or Upstream Host. Can be installed from PyPI or as the
`python3-gitlab` package in Debian 10 onward. Tested with version
1.15.0.
* **Requests**: Needed if you want to use Gitano or GitLab as the
Downstream Host. Can be installed from PyPI or as the
`python3-requests` package in Debian. Tested with version 2.23.0.
* **yarn**: Needed if you want to run the test suite. Can be
installed as the `cmdtest` package in Debian, or from the source at
<https://liw.fi/cmdtest/>. Tested with version 0.27-1 and with
commit `cdfe14e45134` on the master branch.
## User account
Create a single user account and home directory for Lorry and Lorry
Controller on the host where they will run.
Create an SSH key pair for Lorry, and install the *private* key in
`.ssh` in Lorry's home directory.
|