summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opentox-ruby.sh1
-rw-r--r--opentox-webservices.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 95703ef..e9bfff7 100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -31,6 +31,7 @@ sed -e "s/PASSWORD/$password/;s/SERVERNAME/$servername/;s/LOGGER/$logger/;s/AA/$
# checkout development version and link lib to opentox-ruby gem
if [ $branch = "development" ]
then
+ mkdir -p /var/www/opentox
cd /var/www/opentox
git clone http://github.com/mguetlein/opentox-ruby.git
cd opentox-ruby
diff --git a/opentox-webservices.sh b/opentox-webservices.sh
index d41fd35..2603f4c 100644
--- a/opentox-webservices.sh
+++ b/opentox-webservices.sh
@@ -27,4 +27,6 @@ cd -
cd /var/www/opentox/algorithm
rake fminer:install
chown -R opentox /var/www/opentox
+cp -r $HOME/.opentox /home/opentox/
+chown -R opentox /home/opentox/.opentox
cd $dir