OMERO figure creation app
Project description
OMERO.figure
OMERO.web app for creating figures from images in OMERO.
For full details see http://figure.openmicroscopy.org
Requirements
OMERO 4.4.x or OMERO 5.x
Installation
Please see instructions at http://figure.openmicroscopy.org
Development
We use Grunt for various tools. See http://figure.openmicroscopy.org/2014/05/01/testing-with-jshint-jasmine-grunt.html for an introduction.
Install Node from https://nodejs.org, then:
$ cd figure $ npm install
Install Grunt CLI as described on http://gruntjs.com/using-the-cli.
To compile jst templates:
$ grunt jst
To concatenate js files into a single figure.js file that is used in the app:
$ grunt concat
During development, you’ll want to have both of these run whenever the relevant files are edited. This can be achieved with:
$ grunt watch
To update the demo figure app at http://figure.openmicroscopy.org/demo/ we have a grunt task that concats and moves js files into demo/. It also replaces Django template tags in index.html and various js code fragments with static app code. This is all handled by the grunt task:
$ grunt demo
This puts everything into the figure/demo/ directory. This can be tested locally via:
$ cd demo/ $ python -m SimpleHTTPServer
Go to http://localhost:8000/ to test it. To update the figure.openmicroscopy.org site:
Copy the demo directory and replace the demo directory in gh-pages-staging branch.
Commit changes and open PR against ome/gh-pages-staging as described https://github.com/ome/omero-figure/tree/gh-pages-staging
It is also possible to run the demo in docker without installing anything locally:
$ docker build -t figure-demo . $ docker run -ti --rm -p 8000:8000 figure-demo
If you are using docker-machine (e.g. on Mac OS X or Windows), you can find the URL of your demo with:
# get the ip address of your docker machine (named default) $ docker-machine ip default 192.168.99.100 # Now check the result in your browser at: http://192.168.99.100:8000/
License
OMERO.figure is released under the AGPL.
Copyright
2016, The Open Microscopy Environment
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
File details
Details for the file omero-figure-2.0.0.tar.gz
.
File metadata
- Download URL: omero-figure-2.0.0.tar.gz
- Upload date:
- Size: 732.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3afcd72e4144b88b9b1d10adf70f57e7f0d690ce72cb89b75d642f5ef8c4b37d |
|
MD5 | fe61e9bc4dcdce6ec9a798d36b3d6a46 |
|
BLAKE2b-256 | 858150db7d2d051504061eb8b79b45a2a6d50e34c829ea85d226442dd9196f00 |