Developing rgallery
- Ensure you have Go and Node.js installed on your system, as well as dependencies noted in Deployment.
- Clone this repo.
- Navigate to this repo.
- Make sure you have an
./images
directory with a few test folders of images (and/or videos). - Run
npm i
to install frontend dependencies. - Run
make run
. This will start a scan of the images directory, and the application will be available at http://localhost:3000.
When editing CSS or JS, the browser will be reloaded when a file is saved. If changes are made to the application (any *.go files), the application will need to be restarted.