Note
This documentation is for the new OMERO 5.1. version. See the latest OMERO 5.0.x version or the previous versions page to find documentation for the OMERO version you are using if you have not upgraded yet.
You will need to have an OMERO server running that you can connect to. This will typically be on your own machine, although you can also connect to an external OMERO server. You can add the server to the omero.web.server_list and choose that server when you log in. You should enable omero.web.debug and start a lightweight development Web server on your local machine.
All that is required to use the Django lightweight development server is to set the omero.web.application_server configuration option, turn omero.web.debug on and start the server up:
$ bin/omero config set omero.web.application_server development
$ bin/omero config set omero.web.debug True
$ bin/omero web start
INFO:__main__:Application Starting...
INFO:root:Processing custom settings for module omeroweb.settings
...
Validating models...
0 errors found
Django version 1.6, using settings 'omeroweb.settings'
Starting development server at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
All that is required to use the Django lightweight development server is to set the omero.web.application_server configuration option, turn Debugging on and start the server up:
C:\omero_dist>bin\omero config set omero.web.application_server development
C:\omero_dist>bin\omero config set omero.web.debug True
C:\omero_dist>bin\omero web start
INFO:__main__:Application Starting...
INFO:root:Processing custom settings for module omeroweb.settings
...
Validating models...
0 errors found
Django version 1.6, using settings 'omeroweb.settings'
Starting development server at http://0.0.0.0:4080/
Quit the server with CTRL-BREAK.
For convenience you may wish to run a web server under your local user account instead of using a system server for testing. Install Nginx (See OMERO.web deployment) but generate a configuration file using the following command:
$ bin/omero web config nginx-development > nginx-development.conf
Start nginx, and the Django FASTCGI workers:
$ nginx -c $PWD/nginx-development.conf
$ bin/omero web start
Next: Get started by Creating an app....