summaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh47
1 files changed, 14 insertions, 33 deletions
diff --git a/config.sh b/config.sh
index b8228c9..052fa32 100755
--- a/config.sh
+++ b/config.sh
@@ -1,52 +1,33 @@
#!/bin/sh
-#
+
# Configuration file for Opentox installer.
# Author: Christoph Helma, Andreas Maunz.
-#
+
# 1) Base setup
-OT_DIST="debian" # Linux distribution (debian)
-OT_INSTALL="local" # Type (gem, local, server)
-OT_BRANCH="development" # Maturity (development -you need SSH key at Github-, master)
+OT_DIST="debian" # Linux distribution (debian)
+OT_INSTALL="local" # Type (gem, local, server)
+OT_BRANCH="development" # Maturity (development -need SSH key at Github-, master)
-# 2) Where all binaries are installed.
+# 2) Where binaries are installed
OT_PREFIX="$HOME/opentox-ruby"
OT_JAVA_HOME="/usr/lib/jvm/java-6-openjdk"
# USE THIS FOR 64BIT: OT_JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64"
-# 3) What versions to install.
-RUBY_NUM_VER="1.8.7-2012.02"
-OB_NUM_VER="2.2.3"
-KL_NUM_VER="0.9-11"
-REDIS_NUM_VER="2.4.4"
-
-# 4) Server settings.
-NGINX_SERVERNAME="toxcreate3.in-silico.ch"
-WWW_DEST="$OT_PREFIX/www"
-NGINX_PORT="" # set to empty string ("") for port 80 otherwise set to port *using colon* e.g. ":8080"
-OHM_PORT="6379" # set to port (no colon)
+# 3) What versions to install
+OB_NUM_VER="2.3.1"
+RUBY_DWL="http://ftp.ruby-lang.org/pub/ruby/1.9"
# Done.
### Nothing to gain from changes below this line.
-JAVA_CONF="$OT_PREFIX/.sh_java_ot"
-RUBY_CONF="$OT_PREFIX/.sh_ruby_ot"
-REDIS_CONF="$OT_PREFIX/.sh_redis_ot"
-NGINX_CONF="$OT_PREFIX/.sh_nginx_ot"
-OB_CONF="$OT_PREFIX/.sh_OB_ot"
-R_CONF="$OT_PREFIX/.sh_R_ot"
-
-RUBY_VER="ruby-enterprise-$RUBY_NUM_VER"
-OB_VER="openbabel-$OB_NUM_VER"
-REDIS_VER="$REDIS_NUM_VER"
+JAVA_CONF="$HOME/.opentox/sh_java"
+OB_CONF="$HOME/.opentox/sh_OB"
+R_CONF="$HOME/.opentox/sh_R"
+OT_UI_CONF="$HOME/.opentox/opentox-ui.sh"
-RUBY_DEST="$OT_PREFIX/$RUBY_VER"
+OB_VER="openbabel-$OB_NUM_VER"
OB_DEST="$OT_PREFIX/$OB_VER"
OB_DEST_BINDINGS="$OT_PREFIX/openbabel-ruby-install"
-R_DEST="$OT_PREFIX/r-packages"
-NGINX_DEST="$OT_PREFIX/nginx"
-REDIS_DEST="$OT_PREFIX/redis-$REDIS_VER"
-REDIS_SERVER_CONF="$REDIS_DEST/redis.conf"
-OT_UI_CONF="$HOME/.opentox-ui.sh"