photoprism-client-go/sample-app
Kris Nóva 030b361d9e Fixing import for a quick 1.0.1
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 20:14:42 -08:00
..
photoprism Fixing import for a quick 1.0.1 2021-02-11 20:14:42 -08:00
README.md Adding docs and ready for 1.0.0 2021-02-11 18:04:53 -08:00
app.go Fixing import for a quick 1.0.1 2021-02-11 20:14:42 -08:00
exec.go Yay we have persistent storage hax 2021-02-03 19:19:19 -08:00
pcreate Fixing import for a quick 1.0.1 2021-02-11 20:14:42 -08:00
pdestroy Adding changes! Working docker wrapper! 2021-02-03 14:00:31 -08:00
plogs Adding changes! Working docker wrapper! 2021-02-03 14:00:31 -08:00
pstart Working idemptotent unit tests (start,stop,create,destroy) 2021-02-11 11:25:45 -08:00
pstop Adding changes! Working docker wrapper! 2021-02-03 14:00:31 -08:00

README.md

Sample App

This is bad code.

We shell exec the start/stop/create/destroy docker commands (poorly) and this is how the unit testing suite attempts to start/stop/create/destroy the local persistent store.

Running The Sample App

./pcreate  # Will create the sample app running locally
./pdestroy # Will destroy the sample app, but the data will persist regardles of running this command
./pstop    # Will stop the photoprism app from running/serving
./plogs    # Will tail the photoprism logs
./pstart   # Will start an already created, and then stopped Photoprism application