Giter VIP home page Giter VIP logo

omero-server-setup's Introduction

OMERO server setup and database management plugin

Build Status

Configure OMERO.server and manage a PostgreSQL database

Usage

Set the OMERODIR environment variable to the location of OMERO.server.

If you already have a configured OMERO.server and just want to initialise or upgrade the OMERO database jump to Managing the OMERO database on existing servers. Otherwise follow these instructions to setup a new server.

OMERO Configuration

To setup a new OMERO.server run:

omero setup createconfig --data-dir auto

This will automatically set a path for the OMERO data directory as well as enabling self-signed certificates and websockets.

If you do not have a running PostgreSQL server and would like this plugin to take care of starting one include the --manage-postgres flag. A pgdata directory will be created inside your OMERO data directory for PostgreSQL data.

omero setup createconfig --manage-postgres --data-dir auto

If you need to overwrite an existing configuration first delete it:

omero config drop default

PostgreSQL server

If you already have a PostgreSQL server skip this section.

If you selected --manage-postgres during the configuration step and have not previously setup PostgreSQL run:

omero setup pginit

Start OMERO

OMERO should be ready to start! Run:

omero setup start

This will generate certificates and start PostgreSQL if enabled before starting OMERO.server.

Stop OMERO

omero setup stop

This will stop OMERO.server and PostgreSQL if enabled.

Managing the OMERO database on existing servers

To automagically setup or update the OMERO database run:

omero setup justdoit

Additional control

If you want more control see the full list of sub-commands:

omero setup --help

Developer notes

Commits up to https://github.com/manics/omero-server-setup/tree/82937434850a3585dc2b4140e446092277dd9a6b were extracted from https://github.com/ome/omego/tree/v0.7.0 using git filter-branch.

This repository uses setuptools-scm so versions are automatically obtained from git tags.

omero-server-setup's People

Contributors

atarkowska avatar chris-allan avatar jburel avatar joshmoore avatar manics avatar mtbc avatar pwalczysko avatar sbesson avatar ximenesuk avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.