PhotoArk

command module
v0.0.0-...-3ae588a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2016 License: MIT Imports: 16 Imported by: 0

README

PhotoArk Build Status

PhotoArk is a web interface for viewing photos.

PhotoArk screenshot

Running

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

Metadata

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL