Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91326760
prepare.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
Sun, Nov 10, 00:59
Size
1 KB
Mime Type
text/x-shellscript
Expires
Tue, Nov 12, 00:59 (2 d)
Engine
blob
Format
Raw Data
Handle
22242120
Attached To
R2664 SHRINE MedCo Fork
prepare.sh
View Options
#!/bin/bash
#########
echo
"[i2b2/prepare.sh] begin."
#########
#
# I2B2 Configuration for SHRINE
#
# Steps
# 1. hive: creates the shrine project
# 2. ontology: loads up the shrine ontology
#
#
# @see i2b2.rc
# @see called scripts.
#
#########
rm ~/i2b2.rc
cp i2b2.rc ~/i2b2.rc
cp ../../common.rc ~/common.rc
cp i2b2-aliases.sh ~
chmod 640 ~/common.rc
chmod 640 ~/i2b2.rc
chmod 750 ~/i2b2-aliases.sh
source
./i2b2.rc
#########
chmod +x *.sh
#########
# echo "[i2b2/prepare.sh] Shutting down JBOSS, just to be on the safe side."
# i2b2_jboss_shutdown
# TODO: make cleaner
#########
echo
"[i2b2/prepare.sh] Your I2B2 Environment Variables (see i2b2.rc)"
export
| grep I2B2
##########
#Complie the java class to execute jdbc scripts
javac ../../tsql.java
../install_prereqs.sh
./configure_hive.sh
./configure_pm.sh
./ontology.sh
./reconfigure-i2b2.sh
./disable-update-cells.sh
./post-install.sh
##########
echo
"[i2b2/prepare.sh] done."
##########
# echo "[i2b2/prepare.sh] Clean start of JBOSS"
# i2b2_jboss_startup
Event Timeline
Log In to Comment