How to Install Gladys on Debian
Gladys is an open-source home automation system that allows you to control and automate your home appliances using your voice or a mobile app. In this tutorial, we will learn how to install Gladys on the latest version of Debian.
Prerequisites
Before you start installing Gladys, ensure that you have the following prerequisites:
- A Debian machine with a minimum of 2GB RAM
- Node.js ≥6.5.0 (you can check the version by running
node -vin the terminal) - Git (you can check if Git is installed by running
git --versionin the terminal)
Installation
Follow the steps below to install Gladys on Debian:
1. Install Node.js
If you don't have Node.js installed on your Debian machine, you can install it by running the following commands:
sudo apt update
sudo apt install nodejs npm
2. Install Git
If you don't have Git installed on your Debian machine, you can install it by running the following command:
sudo apt install git
3. Clone the Gladys Github Repo
Clone the Gladys GitHub repository by running the following command:
git clone https://github.com/GladysProject/Gladys.git gladys
4. Install Gladys dependencies
Once the clone process is complete, navigate to the gladys directory and install Gladys dependencies using the npm command:
cd gladys
npm install
5. Start Gladys
Once the installation of Gladys dependencies is complete, start Gladys by running the following command:
npm start
Gladys is now fully installed and running on your Debian machine. You can now access its UI by navigating to http://<your_machine_ip>:8080 on your browser.
Conclusion
In this tutorial, we have learned how to install Gladys, an open-source home automation system, on the latest version of Debian. You should now be able to control and automate your home appliances using Gladys.