Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90936429
configure_pm.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
Wed, Nov 6, 04:43
Size
583 B
Mime Type
text/x-shellscript
Expires
Fri, Nov 8, 04:43 (2 d)
Engine
blob
Format
Raw Data
Handle
22160692
Attached To
R2664 SHRINE MedCo Fork
configure_pm.sh
View Options
#!/bin/bash
echo
"[i2b2/configure_pm.sh] Begin."
#########
# I2B2 PM (project management) setup
#
#########
source
./i2b2.rc
#########
echo
"[i2b2/configure_pm.sh] Configuring i2b2 tables PM_* "
interpolate_file skel/configure_pm.sql
"SHRINE_IP"
"${SHRINE_IP}"
|
\
interpolate
"SHRINE_SSL_PORT"
"${SHRINE_SSL_PORT}"
|
\
interpolate
"SHRINE_USER"
"${SHRINE_USER}"
|
\
interpolate
"SHRINE_PASSWORD_CRYPTED"
"${SHRINE_PASSWORD_CRYPTED}"
> configure_pm.sql.interpolated
sudo -u postgres psql
${
I2B2_DB_PM_USER
}
< configure_pm.sql.interpolated
echo
"[i2b2/configure_pm.sh] Done."
Event Timeline
Log In to Comment