@@ -59,21 +59,22 @@ To ease initial setup and management the `building_manager.py` is provided. This
...
@@ -59,21 +59,22 @@ To ease initial setup and management the `building_manager.py` is provided. This
The script has a few requirements for the system and the python environment.
The script has a few requirements for the system and the python environment.
**System:**
**System:**
```sh
```
docker
docker
docker-compose
docker-compose
docker-machine
docker-machine
python
python3 (at least 3.6)
mosquitto (mosquitto_passwd utility)
python3-pip
mosquitto (needed to for mosquitto_passwd utility)
ssh-keygen
ssh-keygen
```
```
On a Ubuntu System these can be installed following these commands:
On a Ubuntu System these can be installed following these commands:
```bash
```bash
sudo apt install mosquitto# Needed to use mosquitto_passwd
sudo apt install mosquitto, python3-pip# Needed to use mosquitto_passwd
sudo systemctl stop mosquitto# Stop Mosquitto service
sudo systemctl stop mosquitto# Stop Mosquitto service
sudo systemctl disable mosquitto # Disable 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/).
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/).