Skip to main content

OMERO.web

Project description

https://github.com/ome/omero-web/workflows/Tox/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg https://badge.fury.io/py/omero-web.svg

Introduction

OMERO.web provides a web based client and plugin infrastructure.

Dependencies

Direct dependencies of OMERO.web are:

Installation

We recommend installing omero-web in a Python virtual environment. Here we show the install using Conda. For more details and other options, please see OMERO.py.

conda create -n myenv -c ome python=3.6 zeroc-ice36-python omero-py conda activate myenv pip install 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/

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omero-web-5.13.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

omero_web-5.13.0-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file omero-web-5.13.0.tar.gz.

File metadata

  • Download URL: omero-web-5.13.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for omero-web-5.13.0.tar.gz
Algorithm Hash digest
SHA256 ce8fece0e6661caeff50b2c4dfeb3d294f5e01318656b7c0370bfb0d97af37ec
MD5 453faef5f469eba2aca776995fa8d982
BLAKE2b-256 919b64c8c78ef554e008a61cf1d03e2dc4f97ba9bb5ff99a8feb1d6a80e44e6e

See more details on using hashes here.

File details

Details for the file omero_web-5.13.0-py3-none-any.whl.

File metadata

  • Download URL: omero_web-5.13.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for omero_web-5.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac38c79fc34d256563da926031fec5db1ea37845ad577d7d7bc1212bf43eb71
MD5 124b8ceb6e6991d602e5087f71b8cb97
BLAKE2b-256 7342615649c42655ec0b76c773dc1a56297ff575423f2ec1efb6f7c0139c36a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page