| 1 | readme.upgrade file for WeBWorK version 1.8, 10/7/02 |
1 | readme.upgrade file for WeBWorK version 1.8 |
| 2 | |
2 | |
| 3 | ********************************************************************** |
3 | ********************************************************************** |
| 4 | |
4 | |
| 5 | 1. Read the readme.install file and download the *.tar.gz files. |
5 | 1. Read the readme.install file and download the *.tar.gz files. |
| 6 | |
6 | |
| … | |
… | |
| 13 | you keep a copy of your old system even if you do not make the changes |
13 | you keep a copy of your old system even if you do not make the changes |
| 14 | outlined in step 4 below. |
14 | outlined in step 4 below. |
| 15 | |
15 | |
| 16 | 4. If you want to maintain an active version of your current system, do |
16 | 4. If you want to maintain an active version of your current system, do |
| 17 | the following: |
17 | the following: |
| 18 | a. Move the system directory to a new directory old_system (mv system old_system) |
18 | a. Move the system directory to a new directory old_system and move |
| 19 | b. In old_system/Global.pm edit the items: $cgiWebworkURL, $htmlWebworkURL, |
19 | the system_html directory to a new directory old_system_html: |
| 20 | and $mainDirectory. In these items, replace "system" by "old_system". |
20 | cd .../webwork/ |
|
|
21 | mv system old_system |
|
|
22 | mv system_html old_system_html |
|
|
23 | b. In old_system/lib/webworkConfig.pm edit the items: $mainDirectory, |
|
|
24 | $htmlWebworkURL, and $cgiWebworkURL. In these items, replace "system" |
|
|
25 | by "old_system". |
| 21 | c. In you webserver's htdocs and cgi-bin directories (or configuration |
26 | c. In you webserver's htdocs and cgi-bin directories (or configuration |
| 22 | files), create new links for $cgiWebworkURL and $htmlWebworkURL (just |
27 | files), create new links for $cgiWebworkURL and $htmlWebworkURL (just |
| 23 | copy your current setup replacing "system" by "old_system" in the links |
28 | copy your current setup replacing "system" by "old_system" in the links |
| 24 | or cgi aliases). |
29 | or cgi aliases). |
| 25 | d. To get a course (e.g. mth140a) to use the old_system, edit the course's |
30 | d. To get a course (e.g. mth140a) to use the old_system, edit the course's |
| 26 | index.html file (.../courses/mth140a/html/index.html) changing the line |
31 | index.html file (.../webwork/courses/mth140a/html/index.html) changing the line |
| 27 | <FORM ACTION= "/cgi-bin/webwork/system/login.pl" METHOD="POST"> |
32 | <FORM ACTION= "/cgi-bin/webwork/system/login.pl" METHOD="POST"> |
| 28 | to |
33 | to |
| 29 | <FORM ACTION= "/cgi-bin/webwork/old_system/login.pl" METHOD="POST"> |
34 | <FORM ACTION= "/cgi-bin/webwork/old_system/login.pl" METHOD="POST"> |
| 30 | |
35 | |
|
|
36 | You can even have two login forms on this page so that students can use |
|
|
37 | either system at will. This may be confusing for the students, but will |
|
|
38 | not cause any problems for WeBWorK. All the course data is completely |
|
|
39 | independent from the WeBWorK system scripts. |
|
|
40 | |
| 31 | 5. To install the new system, follow the instructions in readme.install |
41 | 5. To install the new system, follow the instructions in readme.install. |
|
|
42 | Be care not to over write your .../webwor/courses/ directory if you have |
|
|
43 | real courses set up there. |
| 32 | |
44 | |
| 33 | |
45 | |
| 34 | Mike Gage and Arnie Pizer |
46 | Mike Gage and Arnie Pizer |