IDR / deployment

Deployment infrastructure for the Image Data Resource
https://idr.openmicroscopy.org/about/deployment.html
BSD 2-Clause "Simplified" License
13 stars 14 forks source link

Install omero_search_engine_client from github #373

Closed will-moore closed 2 years ago

will-moore commented 2 years ago

This adds omero_search_engine_client as a web-app to IDR deployment, initially installing from github since it's not on pypi yet.

The omero_client_search_engine code can then be consumed by omero-web e.g. https://github.com/ome/omero-web/pull/368

This will allow manual update of the app on idr-testing from a current branch, as I currently do for e.g. gallery so that currently opened PRs can be tested e.g.

for server in omeroreadwrite omeroreadonly-1 omeroreadonly-2 omeroreadonly-3 omeroreadonly-4; do ssh $server "sudo /opt/omero/web/venv3/bin/pip uninstall -y idr-gallery && sudo /opt/omero/web/venv3/bin/pip install git+https://github.com/IDR/idr-gallery.git@refs/pull/8/head && sudo service omero-web restart"; done
will-moore commented 2 years ago

Ah - https://idr-testing.openmicroscopy.org/search_engine/ reminds me I need to add a config for omero.web.searchengine.url ...

will-moore commented 2 years ago

@sbesson would you be able to run again, to apply that last config commit? Thx

sbesson commented 2 years ago

Sure, redeployed

will-moore commented 2 years ago

I can now manually update the install to https://github.com/ome/omero_search_engine_client/pull/18 with:

for server in omeroreadwrite omeroreadonly-1 omeroreadonly-2 omeroreadonly-3 omeroreadonly-4; do ssh $server "sudo /opt/omero/web/venv3/bin/pip uninstall -y omero_search_engine_client && sudo /opt/omero/web/venv3/bin/pip install git+https://github.com/ome/omero_search_engine_client.git@refs/pull/18/head && sudo service omero-web restart"; done
will-moore commented 2 years ago

Updated to searchengine/api/ endpoint now that searchengineapi/ is removed.

will-moore commented 2 years ago

Since this won't be needed for first release of search engine (using idr_gallery only) this can be closed for now...