diff --git a/README.md b/README.md index 92261aa49bc14e00c379f725754acadbab457da9..3b4bc5069ea117579f3cabf5c142c9f278350761 100644 --- a/README.md +++ b/README.md @@ -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. **System:** -```sh +``` docker docker-compose docker-machine -python -mosquitto (mosquitto_passwd utility) +python3 (at least 3.6) +python3-pip +mosquitto (needed to for 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 +sudo apt install mosquitto, python3-pip # 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/). diff --git a/building_manager.py b/building_manager.py index 06e0d21f1e5e7e7b110a780da68b00b7c5757c00..165fa1b64425826c59fe51f4481f937e781f13b9 100755 --- a/building_manager.py +++ b/building_manager.py @@ -848,7 +848,7 @@ def generate_checkbox_choices(list): if __name__ == '__main__': import argparse parser = argparse.ArgumentParser( - prog='building_manger', + prog='building_manager', description='Generate and manage multi' 'building configurations of openHAB with docker swarm') parser.add_argument(