source: gs3-extensions/pharos/trunk/cmdline-api-srcpack/setup.bash@ 20983

Last change on this file since 20983 was 20983, checked in by davidb, 14 years ago

Initial files for Phrasos extension to Greenstone3

File size: 1.3 KB
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 "+Your environment is now set up for KMI Pharos Image-IS"
39echo "++To ingest image: imageis-add-jpg-file.sh collection file.jpg"
40echo "++To ingest image: imageis-del-id.sh collection docid"
41echo "++To ingest image: imageis-query-by-id.sh collection docid"
42
43
44
Note: See TracBrowser for help on using the repository browser.