Changes between Version 19 and Version 20 of ToolUpgrade
- Timestamp:
- Dec 31, 2009, 3:02:17 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ToolUpgrade
v19 v20 16 16 $ ./upgrade project_name 17 17 }}} 18 The upgrade script copies files from the `source/html/`, `source/sched` and `source/tool` directories to the corresponding project directories and selected files from `source/py/BOINC' to the project `bin' directory. 18 The upgrade script copies files from the `source/html/`, `source/sched` and `source/tool` 19 directories to the corresponding project directories and selected files 20 from `source/py/BOINC' to the project `bin' directory. 19 21 20 The default project root directory is `$HOME/projects/project_name`. If this is not where your project lives then you also need to use the `--project_root` flag to specify the location of the directory above where your project lives, like so: 22 5. 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). 23 24 == Options == 25 26 27 You can update only the web code (PHP files), using: 28 {{{ 29 $ ./upgrade --web_only project_name 30 }}} 31 32 You can update everything except the web code using: 33 {{{ 34 $ .upgrade --server_only project_name 35 }}} 36 37 The default project root directory is `$HOME/projects/project_name`. 38 If this is not where your project lives, use the `--project_root` flag 39 to specify the location of the directory above where your project lives: 21 40 {{{ 22 41 $ ./upgrade --project_root=/path/to/projects project_name … … 24 43 The project directory would then be `/path/to/projects/project_name`. 25 44 26 It is possible to update only the web pages (PHP files), using the `--web_only` flag:27 {{{28 $ ./upgrade --web_only project_name29 }}}30 31 45 You can run '''upgrade''' from a directory other than boinc/tools by specifying the BOINC source directory: 32 46 {{{ 33 47 $ ~/boinc/tools/upgrade --srcdir ~/boinc 34 48 }}} 35 36 5. 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).37 49 38 50 == Updating the database structure ==