Task #6668 (closed)
Opened 13 years ago
Closed 9 years ago
VM: Deployment target to build OMERO.server from SRC
Reported by: | szwells | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | General | Version: | 5.0.8 |
Keywords: | n.a. | Cc: | jamoore, cmacleod-x, khgillen, rleigh, bpindelski, pwalczycko |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
This is fairly straightforward to achieve using code similar to the following in setup_omero.sh:
if [[ "$TARGET" == "SRC" ]]; then echo "Building OMERO.server from source" if test -e OMERO.server; then pushd OMERO.server if test -e dist; then dist/bin/omero admin stop fi git pull git://git.openmicroscopy.org/ome.git ./build.py clean popd else git clone git://git.openmicroscopy.org/ome.git OMERO.server fi pushd OMERO.server python build.py popd OMERO_BIN="$OMERO_PATH/dist/bin" sed -i 's/bin/dist\/bin/g' /home/omero/omero-init.d
NB. Because the server build generates the bin directory under dist the existing install scripts are not quite right and must be edited, e.g.
- The path needs to be corrected to reference dist/bin/omero rather than just /bin/omero, including in:
- driver.sh
- setup_environment.sh
- omero-init.d must be altered to insert the reference to dist. Perhaps the init.d file should be generated using a here document from within setup_omero_daemon.sh instead of editing the sample.
Change History (2)
comment:1 Changed 11 years ago by jmoore
- Cc cmacleod-x khgillen rleigh bpindelski pwalczycko added
- Owner szwells deleted
comment:2 Changed 9 years ago by jburel
- Resolution set to invalid
- Status changed from new to closed
- Version set to 5.0.8
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Marking as invalid.
Simon is working on Docker