photoprism-client-go/sample-app
astravexton 012ab74599 Update import path 2021-05-05 15:18:05 +01:00
..
photoprism Fixes 2: Fixing regression for issue 2 2021-02-13 13:30:08 -08:00
README.md Adding docs and ready for 1.0.0 2021-02-11 18:04:53 -08:00
app.go Update import path 2021-05-05 15:18:05 +01:00
exec.go Update import path 2021-05-05 15:18:05 +01:00
pcreate Update import path 2021-05-05 15:18:05 +01: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