From 0fb1b836bcf7386e11d56081c9ae0c3e96170524 Mon Sep 17 00:00:00 2001 From: Dobli <61doal1mst@hft-stuttgart.de> Date: Wed, 23 Jan 2019 12:47:30 +0100 Subject: [PATCH] added additional instructions for installing requirements --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19cdb65..92261aa 100644 --- a/README.md +++ b/README.md @@ -65,9 +65,23 @@ docker-compose docker-machine python mosquitto (mosquitto_passwd utility) +ssh-keygen ``` +On a Ubuntu System these can be installed following these commands: + +```bash +sudo apt install mosquitto # Needed to use mosquitto_passwd +sudo systemctl stop mosquitto # Stop Mosquitto service +sudo systemctl disable mosquitto # Disable Mosquitto service +``` + +The setup also expects a working docker-machine environment. To connect all instances (on at least one of the machines) follow [these instructions](https://docs.docker.com/machine/drivers/generic/). + + + **Python:** + ```sh docker PyInquirer @@ -76,7 +90,7 @@ bcrypt pip-tools ``` -All python requirements managed using `pip-tool` in the `requirements.in` file. The command `pip-compile` generates a `requirements.txt` file that can be used with with `pip install -r requirements.txt` to install all needed python dependencies, updating the `requirements.txt` file can be done using `pip-compile` again. In an virtual environment `pip-sync` can be used instead of pip install to install needed packages. +All python requirements managed using `pip-tool` in the `requirements.in` file. The command `pip-compile` generates a `requirements.txt` file that can be used with with `pip install--user -r requirements.txt` to install all needed python dependencies, updating the `requirements.txt` file can be done using `pip-compile` again. In an virtual environment `pip-sync` can be used instead of pip install to install needed packages. ### Config file generation -- GitLab