Direct Installation (Unsupported)
Unsupported Installation Method
Running PiGallery2 natively (non-Docker) is possible but not officially supported. The maintainer will not answer questions or fix bugs specifically related to native installations. For the best experience and support, use the Docker Installation.
Prerequisites
- Node.js: The app requires Node.js (check
package.jsonfor supported versions). - Build Tools: Required for building some native modules.
Installation
1. Install Node.js
2. Install PiGallery2
From Release
wget https://github.com/bpatrik/pigallery2/releases/download/3.0.0/pigallery2-release.zip
unzip pigallery2-release.zip -d pigallery2
cd pigallery2
npm install
From Source
Note: Requires ~2GB of memory for building.
wget https://github.com/bpatrik/pigallery2/archive/master.zip
unzip master.zip
cd pigallery2-master
npm install
npm run build
Running the App
Default credentials:admin / admin.
Configuration
- Run the app once to generate
config.json. - Edit
config.jsonmanually or use the Settings UI. - Use command-line switches for quick overrides: