From 47d29e2b76b5290883faff73e486f8b22b3912ba Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 4 Jun 2008 23:27:01 +0000 Subject: [PATCH] - 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 --- checkin_notes | 10 ++++++++++ tools/make_project | 31 +++++++++++++++++++++++-------- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/checkin_notes b/checkin_notes index 794b385522..5825ea109f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/tools/make_project b/tools/make_project index 26d4a146d3..aebe2faafc 100755 --- a/tools/make_project +++ b/tools/make_project @@ -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()