summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-09 14:00:00 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-09 14:00:00 +0100
commitb3403b864864489fbf9e8466ce443a20daf72487 (patch)
tree876c89ae334a1c444f4a84638315c7ceda79965c
parentc60bc0381bcaa11c51ffa9f981916be93fb2ec1e (diff)
fminer installation added
-rw-r--r--opentox-fminer.sh23
-rw-r--r--opentox-webservices.sh5
2 files changed, 25 insertions, 3 deletions
diff --git a/opentox-fminer.sh b/opentox-fminer.sh
new file mode 100644
index 0000000..571fb19
--- /dev/null
+++ b/opentox-fminer.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+echo "Installing fminer"
+dir=`pwd`
+cd /var/www/opentox/algorithm
+git submodule init
+git submodule update
+
+cd libfminer/libbrc
+git checkout master
+git pull
+./configure
+make ruby
+
+cd ../liblast
+git checkout master
+git pull
+./configure
+make ruby
+
+cd ../../last-utils
+git checkout master
+git pull
diff --git a/opentox-webservices.sh b/opentox-webservices.sh
index 2603f4c..6c8ee41 100644
--- a/opentox-webservices.sh
+++ b/opentox-webservices.sh
@@ -23,9 +23,8 @@ done
git clone http://github.com/mguetlein/opentox-validation.git validation
cd validation
git checkout -t origin/$branch
-cd -
-cd /var/www/opentox/algorithm
-rake fminer:install
+cd $dir
+. opentox-fminer.sh
chown -R opentox /var/www/opentox
cp -r $HOME/.opentox /home/opentox/
chown -R opentox /home/opentox/.opentox