From b3403b864864489fbf9e8466ce443a20daf72487 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 9 Feb 2011 14:00:00 +0100 Subject: fminer installation added --- opentox-fminer.sh | 23 +++++++++++++++++++++++ opentox-webservices.sh | 5 ++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 opentox-fminer.sh 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 -- cgit v1.2.3