diff --git a/README.md b/README.md index 7c85ffb..337c1d0 100644 --- a/README.md +++ b/README.md @@ -8,20 +8,24 @@ This project seeks to replace the OEM control panel on a Lennox Winslow PS40 pel ```bash # Update and upgrade the system sudo apt update && sudo apt upgrade -y -# Install Node.js and npm along with Python and pip -sudo apt install nodejs npm python3 python3-pip +# Install dependencies and other useful utilities +sudo apt install nodejs npm python3 python3-pip neofetch btop fish -y # Install PM2 to manage the Node.js process sudo npm install -g pm2 -# Set up a new user to run the process with home /srv/hestia +# Set up a new user to run the process sudo useradd -m -s /usr/bin/fish hestia # Set hestia home to /srv/hestia -sudo usermod -d /srv/hestia hestia +sudo usermod -d /home/hestia hestia # Create a runners group sudo groupadd runners # Add the new user to the runners group sudo usermod -aG runners hestia # Add hestia to the gpio group sudo usermod -aG gpio hestia +# Give hestia ownership of the home directory +sudo chown hestia:runners /home/hestia -R +# Set permissions on the home directory +sudo chmod 775 /home/hestia -R # Create a directory for the project sudo mkdir /srv/hestia # Change ownership of the directory to the new user