Commit c2a7b333 authored by Dobli's avatar Dobli
Browse files

Added more details concerning requirements

parent 21532bee
...@@ -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/).
......
...@@ -848,7 +848,7 @@ def generate_checkbox_choices(list): ...@@ -848,7 +848,7 @@ def generate_checkbox_choices(list):
if __name__ == '__main__': if __name__ == '__main__':
import argparse import argparse
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
prog='building_manger', prog='building_manager',
description='Generate and manage multi' description='Generate and manage multi'
'building configurations of openHAB with docker swarm') 'building configurations of openHAB with docker swarm')
parser.add_argument( parser.add_argument(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment