summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-09 12:39:40 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-09 12:39:40 +0100
commitb67d82a53c492adf9b978acdd90024ebbebb195e (patch)
tree771a6b63516f21e5adb66773f5b686aeb6906212
parent13a51c835ef1c39704f2d52a92baeb34971803d2 (diff)
added builder gem and fixed mysql password
-rw-r--r--mysql-setup.sh1
-rw-r--r--opentox-ruby.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-setup.sh b/mysql-setup.sh
index d467cfa..8091fd6 100644
--- a/mysql-setup.sh
+++ b/mysql-setup.sh
@@ -2,6 +2,7 @@
echo "Initializing MySql"
. ./config
+password =`grep password /home/opentox/.opentox/config/production.yaml | sed 's/\.*:password://' | tr -d ' '`
mysql -u root -p$mysql_root << EOF
DROP DATABASE IF EXISTS $branch;
CREATE DATABASE production;
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index e9bfff7..449b746 100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -4,6 +4,7 @@ echo "Installing opentox-ruby gem"
. /etc/profile
. ./config
gem install opentox-ruby
+gem install builder # not included by spreadsheet gem
dir=`pwd`