summaryrefslogtreecommitdiff
path: root/service_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'service_install.sh')
-rw-r--r--service_install.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/service_install.sh b/service_install.sh
new file mode 100644
index 0000000..f2d44bd
--- /dev/null
+++ b/service_install.sh
@@ -0,0 +1,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