root/gs3-extensions/pharos/trunk/cmdline-api-srcpack/setup.bash @ 20985

Revision 20985, 1.3 KB (checked in by davidb, 10 years ago)

Minor tweaks to improve readability of echo statements

Line 
1
2if [ ! -z $IMAGEISHOME ] ; then
3  echo "*Your environment is already set up for KMI Pharos Image-IS"
4  return 0
5fi
6
7if [ ! -f "setup.bash" ] ; then
8  echo "You must source the script from within the Image-IS home directory"
9  return 1;
10fi
11
12export IMAGEISHOME=`pwd`
13
14export PATH=$IMAGEISHOME/bin/script:$IMAGEISHOME/bin/$PHAROSOS:$PATH
15
16# I have moved all this to ant build.xml
17#echo "++Generating VSprops.properties from VSprops.properties.in"
18#echo "++Note: Currently assumes web service is at:"
19#echo "++        $PHAROS_PREFIX_URL/services/ContentBasedSearchWSProxy"
20
21#cat VSprops.properties.in \
22#   | sed "s@\*\*imageishome\*\*@$IMAGEISHOME@g" \
23#   | sed "s@\*\*iisos\*\*@$IISOS@g" \
24#   | sed "s@\*\*pharosprefixurl\*\*@$PHAROS_PREFIX_URL@g" \
25#   > VSprops.properties
26
27#if [ ! -d "/tmp/vstmpdir" ] ; then
28#  echo "++Making directory /tmp/vstmpdir for temporary processing by 'annoate'"
29#  mkdir /tmp/vstmpdir
30#fi
31
32#if [ ! -d "/tmp/vsupload" ] ; then
33#  echo "++Making directory /tmp/vsupload for ImageIS ingest files"
34#  mkdir /tmp/vsupload
35#fi
36
37
38echo ""
39echo "+Your environment is now set up for KMI Pharos Image-IS"
40echo "  - To ingest image: imageis-add-jpg-file.sh collection file.jpg"
41echo "  - To ingest image: imageis-del-id.sh collection docid"
42echo "  - To ingest image: imageis-query-by-id.sh collection docid"
43
44
45
Note: See TracBrowser for help on using the browser.