2004-02-12 01:13:47 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Upgrading project software");
|
2005-03-17 22:46:07 +00:00
|
|
|
echo "
|
|
|
|
<p>
|
|
|
|
The <code>upgrade</code> script copies files from a BOINC source tree to a
|
|
|
|
project tree.
|
|
|
|
This is typically done after updating the source tree and
|
|
|
|
recompiling the software.
|
2004-11-02 23:42:24 +00:00
|
|
|
|
|
|
|
<p>
|
2005-03-17 22:46:07 +00:00
|
|
|
Typical usage:
|
|
|
|
<pre>
|
|
|
|
cd source/tools
|
|
|
|
upgrade project_name
|
|
|
|
</pre>
|
2004-02-12 01:13:47 +00:00
|
|
|
|
2004-11-02 23:42:24 +00:00
|
|
|
<p>
|
2005-03-17 22:46:07 +00:00
|
|
|
<code>upgrade</code> does the following:
|
|
|
|
<ul>
|
|
|
|
<li> Stop the project.
|
|
|
|
<li>
|
|
|
|
Copy files from the source/html/* directories to the corresponding
|
|
|
|
project directories
|
|
|
|
(the default project root directory is \$HOME/projects/project_name).
|
|
|
|
<li>
|
|
|
|
Copy source/sched/cgi and source/sched/file_upload_handler to
|
|
|
|
project_name/cgi-bin.
|
|
|
|
<li>
|
|
|
|
Copy other programs in source/sched to project_name/bin.
|
|
|
|
<li>
|
|
|
|
Copy programs in source/tools to project_name/bin.
|
|
|
|
<li> Remind you to restart the project.
|
|
|
|
</ul>
|
2004-11-02 23:42:24 +00:00
|
|
|
|
|
|
|
<p>
|
2005-03-17 22:46:07 +00:00
|
|
|
WARNING: some changes in the BOINC server software
|
|
|
|
require corresponding changes to your BOINC database.
|
|
|
|
Check the file html/ops/db_update.php
|
|
|
|
and apply whatever changes are needed before restarting the project.
|
|
|
|
<p>
|
|
|
|
<code>upgrade</code> takes an optional environment variables INSTALL_DIR
|
|
|
|
specifying the project's root directory.
|
2004-02-12 01:13:47 +00:00
|
|
|
|
2005-03-17 22:46:07 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
2004-02-12 01:13:47 +00:00
|
|
|
?>
|