Open cmacdonald opened 5 years ago
The canonical case is Elasticsearch. Preparing for user interaction means spin up the daemons so the user can point a browser at the UI and play with its features.
For other images, it can just be running the shell... so users can ssh in and poke around - look at code, indexes, etc.
Terrier notebooks Craig!
Oh, that's a great idea!
The interact hook for Terrier would spin up its notebook and let users play with it...
Here's our take: https://github.com/osirrc/olddog-docker/commit/d20aa889f4808a87b30072f50eae8d718421344a
Basically, just start the database. Using docker exec -it olddog-docker-interact mclient -d robust04
you can then issue SQL queries on the document representations.
I wasn't on slack, so perhaps I missed this, but I'm not sure on the purpose of the interact hook -- the README.md states: "to prepare for user interaction".
Is there a "user interaction"? Does this just mean "preparation before the search hook is called". What might we expect to go there?