Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
smartpublicbuilding
openhab-pb-stack
Commits
c2a7b333
Commit
c2a7b333
authored
6 years ago
by
Dobli
Browse files
Options
Download
Email Patches
Plain Diff
Added more details concerning requirements
parent
21532bee
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+7
-6
README.md
building_manager.py
+1
-1
building_manager.py
with
8 additions
and
7 deletions
+8
-7
README.md
+
7
-
6
View file @
c2a7b333
...
@@ -59,19 +59,20 @@ To ease initial setup and management the `building_manager.py` is provided. This
...
@@ -59,19 +59,20 @@ 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
```
```
...
...
This diff is collapsed.
Click to expand it.
building_manager.py
+
1
-
1
View file @
c2a7b333
...
@@ -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_man
a
ger'
,
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
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets