diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2012-08-22 08:33:09 +0200 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2012-08-22 08:33:09 +0200 |
commit | f6591731f02c3d38df070e51fb34f162f547afe3 (patch) | |
tree | c830beeab42543cd2496761adc3d384beaf3740c | |
parent | 43f7751e5eacab9b2fa292246cf5a8eafc629e03 (diff) |
Corrections.
-rw-r--r-- | _posts/2012-08-09-install-opentox-development-environment.md | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/_posts/2012-08-09-install-opentox-development-environment.md b/_posts/2012-08-09-install-opentox-development-environment.md index f71f1ec..519357a 100644 --- a/_posts/2012-08-09-install-opentox-development-environment.md +++ b/_posts/2012-08-09-install-opentox-development-environment.md @@ -25,31 +25,34 @@ Installation (`development` at the point of writing this = 20/08/2012) is tested # First check config.sh ./install -This installation script will prepare your system for the use of `opentox` web services, including installing necessary dependencies, `opentox` config, `raptor`, `rasqal` and `4store`. +This installation script will prepare your system for the use of `opentox` web services, including installing necessary dependencies, `opentox` config, `raptor`, `rasqal`, `rbenv`, `ruby` and `4store`. # Install opentox services +First nessessary environment variables and cnfigurations will be set: + . $HOME/.opentox/config/install/config.sh . $OT_PREFIX/install/utils.sh - # Download opentox-client opentox-server + +Next opentox-client and opentox-server will be downloaded and installed. + for f in opentox-client opentox-server; do git clone "git@github.com:opentox/$f.git" $OT_PREFIX/$f cd $OT_PREFIX/$f - git checkout development >/dev/null 2>&1 - git checkout migration >/dev/null 2>&1 + git checkout development 2>/dev/null + git checkout migration 2>/dev/null done - # Install services with script (bundle) cd $OT_PREFIX/opentox-client/bin ./opentox-client-install - # This script might fail after installing ruby, please start script again. - # Will be fixed soon. cd $OT_PREFIX/opentox-server/bin ./opentox-server-install - # Download and install algorithm compound dataset feature task opentox-test + +OpenTox services(algorithm compound dataset feature task opentox-test) and tests will be downloaded and installed. + for f in algorithm compound dataset feature task opentox-test; do git clone "git@github.com:opentox/$f.git" $OT_PREFIX/$f cd $OT_PREFIX/$f - git checkout development >/dev/null 2>&1 + git checkout development 2>/dev/null if [ -f $OT_PREFIX/$f/bin/$f-install ] then cd $OT_PREFIX/$f/bin ./$f-install @@ -74,19 +77,19 @@ All ot-tools (`otconfig`, `otstart`, `otcheck`, `otreload`, `otkill`) are availa `otconfig` is the only command not taking an argument, it sets the environment variables for all services. -Start all services and their 4store backbones with: +Start all services and their 4store backends with: otstart all -Kill all services and their 4store backbones with: +Kill all services and their 4store backends with: otkill all -It is possible to manage single services and its 4store backbone(e.g. `otstart dataset` to run dataset web service). +It is possible to manage single services and its 4store backend(e.g. `otstart dataset` to run dataset web service). # Access web services -The default port setting for the web services and their 4store backends, (see config files ~/.opentox/config/\*.rb): +The default port setting for the web services and their 4store backends, (see config files `~/.opentox/config/\*.rb`): <table border="1"> <tr> @@ -132,9 +135,9 @@ NOTE: Only installed service uris are set in the config files. Model and validat ruby opentox-client.rb The tests are running for some time and will finish with a short report: - - Finished tests in 49.466044s, 0.8086 tests/s, 3.8410 assertions/s. - 40 tests, 190 assertions, 0 failures, 1 errors, 0 skips -To test one specific service, run its script (ruby [service_name].rb) located in $OT_PREFIX/opentox-test/test. + Finished tests in 43.827407s, 0.9811 tests/s, 4.4265 assertions/s. + 43 tests, 194 assertions, 2 failures, 1 errors, 0 skips + +To test one specific service, run its script (`ruby [service_name].rb`) located in `$OT_PREFIX/opentox-test/test`. |