ome / omero-iviewer

An OMERO.web app allowing to view images
https://www.openmicroscopy.org/omero/iviewer/
Other
18 stars 29 forks source link

Add note on calling pip #408

Closed will-moore closed 2 years ago

will-moore commented 2 years ago

Fixes #407

cc @CamachoDejay @jburel

jburel commented 2 years ago

I think we should add information to the OMERO.web installation pages too since the same will apply to all the apps

will-moore commented 2 years ago

@jburel If you're happy with the change here, I'll apply the same to omero-figure?

jburel commented 2 years ago

the formatting is not good i.e. it is not displayed as a code snippet. Also venv3 is an example.

will-moore commented 2 years ago

@jburel How's that?

jburel commented 2 years ago

Looks better thanks

jburel commented 2 years ago

We have a general section about web app e.g. https://docs.openmicroscopy.org/omero/5.6.4/sysadmins/unix/install-web/walkthrough/omeroweb-install-ubuntu1804-ice3.6.html Maybe we should show in the doc in the installation of the "popular" ones in the walkthrough

will-moore commented 2 years ago

@jburel Yes, it would be nice to have, but there's a trade-off with maintaining install info for figure/iviewer in more than 1 place. Maybe could add the core install commands in the docs:

$ pip install -U omero-iviewer
$ omero config append omero.web.apps '"omero_iviewer"'

but still link to the apps themselves for full instructions? Although that might also be prone to users missing the full instructions? 🤷

joshmoore commented 2 years ago

As a side note, in some installation paths, pip doesn't get (or at least, previously wasn't getting) added as a binary. In those cases, python -m pip tends to work.