gogallery

module
v0.0.0-...-3271837 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT

README

gogallery

Photo gallery written in Go

Development

  • install KinD
  • create a KinD cluster
kind create cluster --name gogallery --config kind.config # for M1 add: --image rossgeorgiev/kind-node-arm64:v1.20.0
  • setup ingress
kubectl apply --filename https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml

kubectl wait --namespace ingress-nginx \
 --for=condition=ready pod \
 --selector=app.kubernetes.io/component=controller \
 --timeout=90s
  • start skaffold
skaffold dev
  • remove the KinD cluster
kind delete cluster --name gogallery

Todo

  • finalise tests
  • recreate thumbs.bin when dir has changed / is newer
  • stream data/info to user when creating thumb
  • make sure the tree doesn't get squashed
  • differentiate in response to the user between loading and creating a thumbs file
  • make thumbnail creation less heavy on the system load (iowait)

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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