diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2013-07-08 12:52:10 +0200 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2013-07-08 12:52:10 +0200 |
commit | 802917a1fbeb51d7c677dca02b443a1b251469cd (patch) | |
tree | 5dd76565020b99e42cf2685a63e418ba14cd3ae1 | |
parent | a0aea2a33807f7c5072ebd1a672c7b537cee8312 (diff) |
Added script to install services.
-rw-r--r-- | service_install.sh | 24 |
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 |