summaryrefslogtreecommitdiff
path: root/install
blob: bb0da33ee7c71a0b0b7ec60566581ae95de0ad52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
# Main Opentox-ruby install script
# Author: Christoph Helma, Andreas Maunz

LOG="/tmp/`basename $0`-log.txt"
touch $HOME/.bashrc
. "./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"

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

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

echo
echo "Installation finished and configured."
echo
echo "IMPORTANT:"
echo "Include the file '$OT_UI_CONF' in your shell or system startup to have it automatically configured."
echo