- make_project: when it's done it prints out a bunch of instructions.

These are more than 24 lines, so in the VMWare BOINC VM
    they scroll off the window and are lost.
    Instead, write them to a file (project/project.readme).
    Also, only write the message about example app if -test_app

svn path=/trunk/boinc/; revision=15358
This commit is contained in:
David Anderson 2008-06-04 23:27:01 +00:00
parent 0e03df254b
commit 47d29e2b76
2 changed files with 33 additions and 8 deletions

View File

@ -4640,3 +4640,13 @@ David 4 June 2008
sched_send.C
server_types.C
validator.C
David 4 June 2008
- make_project: when it's done it prints out a bunch of instructions.
These are more than 24 lines, so in the VMWare BOINC VM
they scroll off the window and are lost.
Instead, write them to a file (project/project.readme).
Also, only write the message about example app if -test_app
tools/
make_project

View File

@ -333,10 +333,24 @@ cronjob_filename = os.path.join(
)
print >>open(cronjob_filename,'w'), '''
0,5,10,15,20,25,30,35,40,45,50,55 * * * * %(proot)s/bin/start --cron
''' %locals()
'''%locals()
print '''Done installing files.
readme_filename = os.path.join(
options.project_root,
project_shortname+'.readme'
)
test_app_msg = ''
if options.test_app:
test_app_msg = '''
3. The project is configured with a test application.
To install this application (recommended) run:
cd %(proot)s
bin/xadd
bin/update_versions
'''%locals()
print >>open(readme_filename,'w'), '''
Steps to complete installation:
1. Change Apache configuration (as root):
@ -351,12 +365,7 @@ Steps to complete installation:
(If cron cannot run "start", try using a helper script to set PATH and
PYTHONPATH)
3. The project is configured with a test application.
To install this application (recommended) run:
cd %(proot)s
bin/xadd
bin/update_versions
%(test_app_msg)s
To start, show status, and stop the project, run:
bin/start
@ -375,3 +384,9 @@ To use this project for your own computations, you'll need to
See the online documentation at http://boinc.berkeley.edu/
'''%locals()
print '''
Done installing files. Please view
%(readme_filename)s
for important additional instructions.
'''%locals()