[system] / trunk / webwork / webworkdocs / installation / readme.upgrade Repository:
ViewVC logotype

Diff of /trunk/webwork/webworkdocs/installation/readme.upgrade

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.572  
changed lines
  Added in v.573

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9