From b02156713fd6a738c02b455c283b81f0617b5d0d Mon Sep 17 00:00:00 2001 From: davor Date: Thu, 9 Aug 2012 12:13:03 +0200 Subject: Remove unsupported files. --- opentox_services_config_file.rb | 27 ------------------------- services-install | 45 ----------------------------------------- 2 files changed, 72 deletions(-) delete mode 100644 opentox_services_config_file.rb delete mode 100755 services-install diff --git a/opentox_services_config_file.rb b/opentox_services_config_file.rb deleted file mode 100644 index e3b18d2..0000000 --- a/opentox_services_config_file.rb +++ /dev/null @@ -1,27 +0,0 @@ -# local development installation - -$compound = { :uri => "http://webservices.in-silico.ch/compound" } - -$algorithm = { :uri => "http://localhost:8081/algorithm" } -#$compound = { :uri => "http://localhost:8082/compound" } -$dataset = { :uri => "http://localhost:8083/dataset" } -$feature = { :uri => "http://localhost:8084/feature" } -#$model = { :uri => "http://localhost:8085/model" } -$task = { :uri => "http://localhost:8086/task" } -#$validation = { :uri => "http://localhost:8087/validation" } - -$four_store = { - :uri => 'http://localhost:8088', - :user => '', - :password => '' -} - -$aa = { - :uri => nil #'https://opensso.in-silico.ch', - #:user => 'guest', - #:password => 'guest', - #:free_request => [:HEAD], - #:authenticate_request => [], - #:authorize_request => [:GET, :POST, :DELETE, :PUT], - #:authorize_exceptions => {[:GET, :POST, :HEAD] => [$task[:uri],$feature[:uri],$dataset[:uri]]} -} diff --git a/services-install b/services-install deleted file mode 100755 index d47a62c..0000000 --- a/services-install +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -SELF=$(basename $0 -install) -[ "`id -u`" = "0" ] && echo "This script must be run as non-root." 1>&2 && exit 1 - -# Adjust ruby version here! -RUBY_NUM_VER="1.9.3-p194" - -echo -echo "Welcome to service installation ( to continue)." -read delete_me -echo -echo "Development installation: Have you added public ssh key to GitHub? ( to continue)." -read delete_me - - -# check wd is root of service -DIR=`pwd` -if echo $DIR | grep "$SELF/bin" >/dev/null 2>&1 ; then cd ..; fi - -# # # Boot the script - -# load base config, helper funs, environment -OT_CONFIG_DIR="$HOME/.opentox" -! [ -f "$OT_CONFIG_DIR/config/install/config.sh" ] && echo "config.sh not found." 1>&2 && exit 1 || . $OT_CONFIG_DIR/config/install/config.sh -! [ -f "$OT_PREFIX/install/utils.sh" ] && echo "utils.sh not found." 1>&2 && exit 1 || . $OT_PREFIX/install/utils.sh -[ -f $OT_CONFIG_DIR/opentox-ui.sh ] && . $OT_CONFIG_DIR/opentox-ui.sh # should have been done by user already -RUBY_DIR="$HOME/.rbenv/versions/$RUBY_NUM_VER" - - -# # # Install - -LOG="$OT_PREFIX/tmp/services.log" -check_utils "rbenv find" -echo -echo "Installation ('$LOG'):" -echo - -[ "`$RBENV local 2>/dev/null`" = "$RUBY_NUM_VER" ] || install_ruby - - -for SERVICE in opentox-client opentox-server dataset algorithm task feature opentox-test; do - install_ot_service -done -cd $DIR -- cgit v1.2.3