Changes between Version 2 and Version 3 of ToolUpgrade


Ignore:
Timestamp:
Apr 24, 2007, 7:46:23 PM (17 years ago)
Author:
Nicolas
Comment:

Manual changes to automatic script formatting, and added some monospaced formatting

Legend:

Unmodified
Added
Removed
Modified
  • ToolUpgrade

    v2 v3  
    66
    77
    8  1. (Optional) stop the project,    and make backups of the project database and the project tree.
     8 1. (Optional) Stop the project, and make backups of the project database and the project tree.
    99 1. [http://boinc.berkeley.edu/source_code.php Download] (using CVS) the current source code. Compile it in your BOINC source directory.
    1010 1. Run the upgrade script:
     
    1313upgrade project_name
    1414}}}
    15   The upgrade script copies files from the source/html/, source/sched and source/tool directories to the corresponding project directories (the default project root directory is $HOME/projects/project_name; upgrade takes an optional environment variables INSTALL_DIR specifying the project's root directory).
     15  The upgrade script copies files from the `source/html/`, `source/sched` and `source/tool` directories to the corresponding project directories (the default project root directory is `$HOME/projects/project_name`; upgrade takes an optional environment variables `INSTALL_DIR` specifying the project's root directory).
    1616 1. Update your project's database if needed:
    1717{{{
    1818cd project/html/ops
    1919}}}
    20  and look at the file db_update.php. This has a number of functions with names like
     20 and look at the file `db_update.php`. This has a number of functions with names like
    2121{{{
    2222update_8_05_2005()
    2323}}}
    24   Each function performs a particular database update. You must perform all updates, in sequence, since your last server software upgrade. (If you're not sure when that was, you can use mysql to see that current format of your database, e.g., to see the fields in the 'user' table, type
     24  Each function performs a particular database update. You must perform all updates, in sequence, since your last server software upgrade. (If you're not sure when that was, you can use `mysql` to see that current format of your database, e.g., to see the fields in the `user` table, type
    2525{{{
    26 mysql project_name
    27 > explain user;
     26$ mysql project_name
     27mysql> explain user;
    2828}}}
    29  To do a particular update, edit db_update.php so that (at the bottom) it calls that function. Then do
     29 To do a particular update, edit `db_update.php` so that (at the bottom) it calls that function. Then do
    3030{{{
    3131php db_update.php
     
    3333 Repeat this for the necessary updates, in increasing chronological order.
    3434 1. Start the project, and check log files to make sure everything is OK. Run the BOINC client and test basic functions (attaching to project, getting work).
    35