diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-09-17 14:54:36 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-09-18 20:21:32 +0200 |
commit | 571dbfc1b066f253fcfedd45b6b63d2fac6add3b (patch) | |
tree | 94956dbbe2c7749d044ce6245552eaf83b19c877 | |
parent | 55579b2a662bee819a2c531d3db99edd3f230212 (diff) |
README: enhance documentation on dependencies and CSRF issues
This patch add the missing pyyaml requirement in the documentation,
fixing issue #31 in the process.
Note that this patch adds also a requirements.txt for easy pip install.
This patch also a note on http_fqdn stating this option as necessary
when using https.
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | lava-master/Dockerfile | 1 | ||||
-rw-r--r-- | requirements.txt | 3 |
3 files changed, 5 insertions, 2 deletions
@@ -21,6 +21,7 @@ lava-docker has currently been tested primarily on Debian stable (stretch). The following packages are necessary on the host machine: * docker * docker-compose +* pyyaml ## Quickstart Example to use lava-docker with only one QEMU device: @@ -219,7 +220,7 @@ masters: zmq_auth_key: optional path to a public ZMQ key zmq_auth_key_secret: optional path to a private ZMQ key persistent_db: True/False (default False) Is the postgres DB is persistent over reboot - http_fqdn: The FQDN used to access the LAVA web interface + http_fqdn: The FQDN used to access the LAVA web interface. This is necessary if you use https otherwise you will issue CSRF errors. users: - name: LAVA username token: The token of this user (optional) diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile index 1270e32..d824135 100644 --- a/lava-master/Dockerfile +++ b/lava-master/Dockerfile @@ -18,7 +18,6 @@ COPY scripts/setup.sh / # warning the address used must be network accessible by all slave #RUN sed -i 's,^.*http_proxy:.*, http_proxy: http://squid:3128,' /etc/lava-server/env.yaml -#comment this if you do HTTPS (For reenabling CSRF cookie) COPY settings.conf /etc/lava-server/ COPY device-types-patch/ /root/device-types-patch/ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..71b6c16 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +docker +docker-compose +pyyaml |