summaryrefslogtreecommitdiff
path: root/install
blob: 2101702a0b65cb7a824562a88a9d3050bab9836d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# Main Opentox-ruby install script
# Author: Christoph Helma, Andreas Maunz

LOG="/tmp/`basename $0`-log.txt"
source ./utils.sh
echo "Opentox-ruby installation."
echo "You may need to give root password for some privileged actions right now:"
cmd="sudo echo -n \"\"" && run_cmd "$cmd" "Acquire privileges"

source "./base-install.sh"
source "./ruby.sh"
source "./openbabel.sh"
source "./kernlab.sh"
source "./opentox-ruby.sh"

if [ "$install" != "gem" ]
then
    source "./nginx.sh"
    source "./redis.sh"
    source "./opentox-webservices.sh"
fi