PhotoArk is a web interface for viewing photos.
go get github.com/kochman/PhotoArk
Inside the PhotoArk directory:
bower install- download web components.go get github.com/mjibson/esc- install esc for embedding static assets.go generate- bundle the static folder for embedding.go run main.go cache.go syncmap.go static.go
The -devel flag will force PhotoArk to serve static files off of the disk instead of from the embedded static folder. Use the -help flag to see other configuration options.
To build a binary, do the above, and then:
go build
PhotoArk looks for metadata.yaml files inside folders in photoDir. These metadata files allow users to filter photos. An example metadata file:
event: Fashion Show
photographer: Sidney Kochman
date: 2016-2-4
location: Auditorium
Currently, only those four fields are exposed in the web interface. In the future, arbitrary keys will be visible.
