18 lines
437 B
Bash

# Update the system
sudo apt-get update
sudo apt-get uprade -y
sudo apt-get autoremove -y
# Install the dependencies
sudo apt-get install python3 python3-pip bluez
sudo pip3 install -r requirements.txt
# Install the Gateway
# Install the service
# Start the Gateway
sudo systemctl enable atc_mithermometer_gateway.service
sudo systemctl start atc_mithermometer_gateway.service
sudo systemctl status atc_mithermometer_gateway.service