summaryrefslogtreecommitdiff
path: root/service_install.sh
blob: f2d44bd9a9e004cc4ba47d99badc3959e44abeab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
. $HOME/.opentox/config/install/config.sh
. $OT_PREFIX/install/utils.sh
. $HOME/.opentox/ot-tools.sh
otconfig
for f in opentox-client opentox-server; do
  git clone "https://github.com/opentox/$f.git" $OT_PREFIX/$f
  cd $OT_PREFIX/$f
  git checkout development 2>/dev/null
done
cd $OT_PREFIX/opentox-client/bin
./opentox-client-install silent
cd $OT_PREFIX/opentox-server/bin
./opentox-server-install silent

for f in algorithm compound dataset feature model validation task opentox-test; do
  git clone "https://github.com/opentox/$f.git" $OT_PREFIX/$f
  cd $OT_PREFIX/$f
  git checkout development 2>/dev/null
  if [ -f $OT_PREFIX/$f/bin/$f-install ]; then
    cd $OT_PREFIX/$f/bin
    ./$f-install silent
  fi
done
notify