This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Installation
Tom Barber edited this page Jul 11, 2018
·
25 revisions
First, set the
-
DRAT_HOME
(e.g.~/drat/deploy
), -
JAVA_HOME
(e.g.readlink -f /usr/bin/java | sed "s:bin/java::"
), and -
GANGLIA_URL
(e.g.http://zipper.jpl.nasa.gov/ganglia/
)
environment variables. You should also set the variables below, but they aren't mandatory.
Then, you can build DRAT in a few steps, substituting ~/drat/
with your preferred install directory:
mkdir -p ~/drat/deploy
mkdir -p ~/drat/src
cd ~/drat/src
git clone https://github.com/apache/drat.git
cd drat && mvn install
tar -C ../../deploy/ -xvzf distribution/target/dms-distribution-0.1-bin.tar.gz
- See the wiki on how to run DRAT.
After updating or changing the source code:
- Please follow the steps from 5
- In case update needs to be done on Vue for Proteus UI (new)
Before Begin :
move to
~/drat/webapps/proteus-new/src/main/webapp/resources
executenpm install
(Only on first Attempt)
If you have altered or modified Vue code of Proteus new Web application
(You need node version 8 or above)
execute
npm run clean
thennpm run build
Finally build the drat from step 5.
The following useful environment variables are set by RADIX but can be overwritten on a per DRAT install basis. Here's the default config, feel free to change/override in your own environment.
setenv DRAT_HOME ~/drat/deploy
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 SOLR_DRAT_URL=http://localhost:8080/solr/drat
setenv WORKFLOW_HOME $DRAT_HOME/workflow
setenv FILEMGR_HOME $DRAT_HOME/filemgr
setenv PGE_ROOT $DRAT_HOME/pge
setenv PCS_HOME $DRAT_HOME/pcs
setenv FMPROD_HOME $DRAT_HOME/tomcat/webapps/fmprod/WEB-INF/classes/