-
Notifications
You must be signed in to change notification settings - Fork 40
Installation
Chris Mattmann edited this page Apr 22, 2018
·
5 revisions
- See Pre-Requisites.
- Navigate to desired location for imagecat
git clone /~https://github.com/chrismattmann/imagecat.git
cd imagecat/auto && chmod +x install.sh
-
./install.sh
and wait for a install to finish
cd ../../deploy
- Add the absolute paths of all images (one image path per line) in data/staging/roxy-image-list-jpg-nonzero.txt
./start.sh
- See the wiki on how to run ImageCat.
The following environment variables are used in ImageCat. Set them in ~/.tcshrc or ~/.bashrc.
setenv JAVA_HOME `readlink -f /usr/bin/java | sed "s:bin/java::"`
setenv OODT_HOME ~/path_to_deploy_directory
setenv GANGLIA_URL http://zipper.jpl.nasa.gov/ganglia/
setenv FILEMGR_URL http://localhost:9000
setenv WORKFLOW_URL http://localhost:9001
setenv RESMGR_URL http://localhost:9002
setenv WORKFLOW_HOME $OODT_HOME/workflow
setenv FILEMGR_HOME $OODT_HOME/filemgr
setenv PGE_ROOT $OODT_HOME/pge
setenv PCS_HOME $OODT_HOME/pcs
setenv FMPROD_HOME $OODT_HOME/tomcat/webapps/fmprod/WEB-INF/classes/
Or, if you're using bash, set ~/.bash_profile
(Mac) or ~/.bashrc
, or with zsh, ~/.zshrc
:
export OODT_HOME=~/path_to_deploy_directory
...
NOTE
- Mac OS X users may need to use a different value for JAVA_HOME because the Java installation that is found by the above command does not necessarily contain the bin/java folder layout. If that's the case, then try a path along the lines of: (your jdk version may vary)
setenv JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home
- Please ensure that
OODT_HOME
,FILEMGR_URL
,WORKFLOW_URL
,RESMGR_URL
are all set to the above values without fail.