Installation
lightGallery Desktop is a cross-platform application that runs on Windows, macOS, and Linux. As this project does not provide pre-built binaries, you will need to build it from the source code.
Building from Source
Building from source is the primary way to install and run lightGallery Desktop. This process requires Node.js and npm
.
1. Clone the Repository
First, clone the project repository from GitHub to your local machine:
git clone https://github.com/sachinchoolur/lightgallery-desktop.git
cd lightgallery-desktop
2. Install Dependencies
The project uses npm
to manage its dependencies. Run the following command in the project's root directory. This will install dependencies for both the main build process and the Electron application itself.
npm install
This command executes the postinstall
script cd app && npm install
, ensuring that all necessary packages are downloaded.
3. Run the Application
Once the dependencies are installed, you can start the application in development mode:
npm start
This command compiles the application source code, watches for changes, and launches the lightGallery Desktop window.
For instructions on creating distributable installers for different operating systems, please see the Building from Source guide.