added more api documentation
new build process
This commit is contained in:
parent
73284ceab8
commit
134cd3a30e
7 changed files with 53 additions and 70 deletions
14
postinstall.sh
Normal file
14
postinstall.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
install_package() {
|
||||
echo "Installing package '$1' via pip3"
|
||||
pip3 install "$1"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Successfully installed pip3 package '$1'"
|
||||
else
|
||||
echo "Could not install pip3 package '$1'"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_package "smbus"
|
||||
install_package "requests"
|
||||
install_package "python-logstash-async"
|
Reference in a new issue