summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-09 12:26:44 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-09 12:26:44 +0100
commit13a51c835ef1c39704f2d52a92baeb34971803d2 (patch)
treedb835ebc92b4280748ca6d0d6bae3c0601873179
parenta3249570b20821307aec0a90df8bcfe5255f6164 (diff)
config for opentox user
-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