-
Notifications
You must be signed in to change notification settings - Fork 11
How to build from source
Before proceeding with building WLED-GUI from source you need to install Node.js (version 14 or higher).
To check that Node.js was installed correctly, type the following commands in your terminal client:
node -v
npm -v
Also you need to install GIT.
To clone the repository, execute the following command in your terminal inside the WLED-GUI folder:
git clone https://github.com/WoodyLetsCode/WLED-GUI.git
This version is the latest version of WLED-GUI.
git clone https://github.com/WoodyLetsCode/WLED-GUI.git --branch v0.6.0
This clones the repository of WLED-GUI version 0.6.0. Replace v0.6.0
with the version you want to clone.
To install the dependencies, execute the following command in your terminal:
npm install
To start the program, execute the following command:
npm start
To build the app, execute the following command:
npm run "build windows"
To build the app, execute the following command:
npm run "build windows oneclick"
To build the app, execute the following command:
npm run "build windows msi"
To build the app, execute the following command:
npm run "build windows msi oneclick"
To build the app, execute the following command:
npm run "build linux"
To build the app, execute the following command:
npm run "build linux deb"
If you get errors, you may have to install binutils:
sudo apt install binutils
To build the app, execute the following command:
npm run "build linux rpm"
If you get errors, you may have to install rpm:
sudo apt install rpm
To build the app, execute the following command:
npm run "build linux snap"
To build the app, execute the following command:
npm run "build linux freebsd"
To build the app, execute the following command:
npm run "build mac"
Don’t expect that you can build app for all platforms on one platform.