Skip to content

Commit

Permalink
fix add local iipJpeg2000
Browse files Browse the repository at this point in the history
  • Loading branch information
geektortoise committed Sep 14, 2017
1 parent b50ad35 commit aec81ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ims/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ if [ $IS_LOCAL = true ]; then
echo "$(route -n | awk '/UG[ \t]/{print $2}') $CORE_URL" >> /etc/hosts
echo "$(route -n | awk '/UG[ \t]/{print $2}') $IIP_OFF_URL" >> /etc/hosts
echo "$(route -n | awk '/UG[ \t]/{print $2}') $IIP_CYTO_URL" >> /etc/hosts
if [ ! -z "$IIP_JP2_URL" ]; then
echo "$(route -n | awk '/UG[ \t]/{print $2}') $IIP_JP2_URL" >> /etc/hosts
fi
for x in $arr
do
echo "$(route -n | awk '/UG[ \t]/{print $2}') $x" >> /etc/hosts
Expand Down Expand Up @@ -59,7 +62,6 @@ echo "cytomine.hdf5.scriptToFindFiles=webapps/ROOT/WEB-INF/scripts/relatedFiles.


if [ ! -z "$IIP_JP2_URL" ]; then
echo "$(route -n | awk '/UG[ \t]/{print $2}') $IIP_JP2_URL" >> /etc/hosts
echo "cytomine.iipImageServerJpeg2000=http://$IIP_JP2_URL/fcgi-bin/iipsrv.fcgi" >> imageserverconfig.properties
echo "cytomine.Jpeg2000Enabled=true" >> imageserverconfig.properties
fi
Expand Down

0 comments on commit aec81ae

Please sign in to comment.