This commit is contained in:
Your Name
2025-02-25 15:41:17 +01:00
parent 516f6367fa
commit e0d7614ad8
3 changed files with 15 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ sudo apt update && sudo apt install -y git gh apache2 php php-sqlite3 python3 py
# Install Python libraries
info "Installing Python libraries..."
sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil --break-system-packages || error "Failed to install Python libraries."
sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil ntplib pytz --break-system-packages || error "Failed to install Python libraries."
# Ask user if they want to set up SSH keys
read -p "Do you want to set up an SSH key for /var/www? (y/n): " answer