OMERO.web
Project description
Introduction
OMERO.web provides a web based client and plugin infrastructure.
Dependencies
Direct dependencies of OMERO.web are:
A WSGI capable web server
Installation
We recommend installing omero-web in a Python virtual environment.
Before installing omero-web, we recommend to install the ZeroC IcePy Python bindings. Our commercial partner Glencoe Software has produced several Python wheels to install the Ice-Python bindings depending on the desired Python version and the operating system. Please visit OMERO Python language bindings for a list of supported platforms and Python versions.
When the wheel is installed, activate the virtual environment and install omero-web from PyPI.
$ pip install -U omero-web
Setting of the environment variable OMERODIR is required. $OMERODIR/var/log/ directory will contain log files. $OMERODIR/etc/grid/config.xml is used to store config:
$ export OMERODIR=$(pwd)
Usage
For running omero-web in production with NGINX, see See: OMERO.web install documentation. To run in development mode, see below.
Contributing
See: OMERO documentation
Developer installation
For a development installation we recommend creating a virtual environment as described above. Then install OMERO.web into your virtual environment as an editable package, so that any edits to source files will be reflected in your installation.
$ git clone https://github.com/ome/omero-web $ cd omero-web $ pip install -e .
Note some omero-web tests may not run when this module and/or omero-py are installed in editable mode.
Configuration for developer usage:
$ omero config set omero.web.debug True $ omero config set omero.web.application_server development # If you want to connect to OMERO.server other than 'localhost' $ omero config append omero.web.server_list '["demo.openmicroscopy.org", 4064, "demo"]'
Then run omero-web in the foreground with:
$ omero web start ... Starting development server at http://127.0.0.1:4080/
Or, run Django directly:
$ cd omero-web $ python omeroweb/manage.py runserver 4080 ... Starting development server at http://127.0.0.1:4080/
Upgrading
Plugin developers should review the Upgrading document highlighting steps that may need to be taken when upgrading OMERO.web to ensure plugins or other customizations continue to function as expected.
Running tests
Unit tests are located under the test directory and can be run with pytest.
Integration tests
Integration tests are stored in the main repository (ome/openmicroscopy) and depend on the OMERO integration testing framework. Reading about Running and writing tests in the OMERO documentation is essential.
Release process
This repository uses bump2version to manage version numbers. To tag a release run:
$ bumpversion release
This will remove the .dev0 suffix from the current version, commit, and tag the release.
To switch back to a development version run:
$ bumpversion --no-tag patch
NB: this assumes next release will be a patch (see below). To complete the release, push the master branch and the release tag to origin:
$ git push origin master v5.8.0
If any PRs are merged that would require the next release to be a major or minor version (see semver.org) then that PR can include a version bump created via:
$ bumpversion --no-tag minor|major
If this hasn’t been performed prior to release and you wish to specify the next version number directly when creating the release, this can be achieved with:
$ bumpversion --new-version 5.9.0 release
omero-web-docker
Following omero-web release, need to update and release omero-web-docker.
License
OMERO.web is released under the AGPL.
Copyright
2009-2024, The Open Microscopy Environment, Glencoe Software, Inc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file omero-web-5.28.0.tar.gz
.
File metadata
- Download URL: omero-web-5.28.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f2b7f439bda01a1309cd2318dd8260c81df18e33c2aff6f6d3ecfd1d114593 |
|
MD5 | 9ec5f8be9f4a31ca279fbf8dd2172b9b |
|
BLAKE2b-256 | eca0c7d6e059aa1ef474df96e696fdab8a6c14598ba43cd81864322cb1b1efbd |
File details
Details for the file omero_web-5.28.0-py3-none-any.whl
.
File metadata
- Download URL: omero_web-5.28.0-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be820b65dcf6945c4aaf4c3ce32da3dc5fa4be6f3c45d5dfd6da2d8be5c4c5d |
|
MD5 | 598c506d059b77bcbf38a655a7cffe95 |
|
BLAKE2b-256 | c1b2d7126bdc6571ecd6235b8e7000e60905eea58f17d1718772b9346fc4d31d |