Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83537305
install-medco-cell.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 17, 16:39
Size
571 B
Mime Type
text/x-shellscript
Expires
Thu, Sep 19, 16:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20853998
Attached To
R4444 MedCo Deployment
install-medco-cell.sh
View Options
#!/usr/bin/env bash
set -Eeuo pipefail
# get medco cell sources
pushd "$MEDCO_CELL_SRC_DIR"
git clone --depth 1 --branch $MEDCO_CELL_VERSION https://c4science.ch/source/medco-i2b2-cell.git .
# compile and deploy
sed -i "/jboss.home/c\jboss.home=$JBOSS_HOME" build.properties
sed -i "/medco.unlynx.groupfilepath/c\medco.unlynx.groupfilepath=$MEDCO_CONF_DIR/group.toml" etc/spring/medcoapp/medco.properties
sed -i "/medco.unlynx.binarypath/c\medco.unlynx.binarypath=$MEDCO_CONF_DIR/unlynxMedCo" etc/spring/medcoapp/medco.properties
ant -f build.xml clean all deploy
popd
Event Timeline
Log In to Comment