Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
added recommendations about queuelib + minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
erastova committed Jul 8, 2014
1 parent 16be2fd commit 231df4c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions b2safe_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def inpt(inp1):
'symbolic links in your irods directories, you can ' \
'proceed with this installation. Otherwise, plese, quit it, ' \
'remove mentioned above symbolic links and start ' \
'the installation again.' + BACK
'the installation again. \n' + BACK

inp = raw_input(BLUE + BOLD + 'Continue installation (y/n)? :' + BACK).lower()

Expand Down Expand Up @@ -409,7 +409,7 @@ def check(strr, fname):
line1 = line.replace("ZZZ", PREFIX)
destination.write(line1)
elif line.find('"password"') > -1:
print BLUE + "Please, enter your password for your prefix " \
print BLUE + BOLD + "Please, enter your password for your prefix " \
+ PREFIX + ":" + BACK
password = getpass.getpass()
line1 = line.replace("YYYYYYYY", password)
Expand Down Expand Up @@ -501,7 +501,7 @@ def check(strr, fname):

print GREEN + BOLD + 'B2SAFE module installation is' \
+ RED + BOLD + ' ALMOST ' + GREEN + BOLD + 'finished!' + BACK
print GREEN + BOLD + 'Please, complete the following steps ' \
print BLUE + BOLD + 'Please, complete the following steps ' \
'to be able to use the module: \n '\
'- change "#!/usr/bin/env python" in python scripts in ' \
'modules/B2SAFE/cmd/ to your python installation \n '\
Expand All @@ -514,11 +514,12 @@ def check(strr, fname):
' python setup.py install \n '\
' ubuntu: apt-get install python-httplib2 python-simplejson \n '\
' ubuntu: apt-get install pylint \n '\
'- install queuelib library to run logging-mechanism \n '\
'- test the epic api interaction by running the '\
'"./cmd/epicclient.py test" script manually and with '\
'"iexecmd epicclient.py" \n '\
'- test the replication by changing and triggering "replicate.r" '\
'rule in <irods>/modules/B2SAFE/rules' + BACK
'"' + IRODS_DIR + '/modules/B2SAFE/cmd/epicclient.py test"'\
' script manually and with "iexecmd epicclient.py" \n '\
'- test replication by changing and triggering test rules '\
'in' + IRODS_DIR + '/modules/B2SAFE/rules' + BACK


exit()
Expand Down

0 comments on commit 231df4c

Please sign in to comment.