--- doc/build/generate_web_pages.pl 2003/09/02 15:46:48 1.5 +++ doc/build/generate_web_pages.pl 2005/09/02 19:04:42 1.23 @@ -10,7 +10,7 @@ generate_web_pages.pl - generate the web Yeah, it does that. -Basically, there's a few comments in shell.html that we replace with +Basically, there's a few comments in shell.hemp that we replace with what we really want in the files. Pretty simple. The point of this is to look like the main site. @@ -22,12 +22,20 @@ The point of this is to look like the ma # Title, source my @pages = ( - ['Red Hat 7.3 Install', 'rh73'], - ['Manual Install from Tarballs', 'manual_install'], +# ['Red Hat 7.3 Install', 'rh73'], +# ['Fedora Install', 'fedora_install'], + ['Fedora Core 3 Install', 'FC3_install'], + ['Fedora Core 4 Install', 'FC4_install'], + ['Red Hat Enterprise Linux 4 Install','RHEL4_install'], + ['SuSE Linux Professional 9.2 Install', 'suse9.2_install'], +# ['Manual Install from Tarballs', 'manual_install'], ['Upgrading from Previous LON-CAPA install', 'upgrade'], - ['Post-installation Configuration', 'config'], ['LON-CAPA License (Gnu Public License)', 'license'] ); +my @other_pages = ( + ['Developer Information', 'dev'], + ['Configuration Information', 'config'], + ); open SHELL, '<', "shell.html"; my $shell = join '', ; @@ -48,19 +56,18 @@ sub replaceText { # Do the index page open INDEX, '>', "index.html"; -my $content = <LON-CAPA is based upon a lot of Open Source modules, so it's important -to have the right environment on your computer. Since it will frequently -be the case that LON-CAPA will be going onto a dedicated machine, we've -included instructions for installing LON-CAPA concurrently with new -installations of some of the popular Linux distributions.

- -

A tarball installation is also available for those who wish to -install on other distributions. Currently, Apache 1.x is required; -LON-CAPA does not yet run on 2.0.

+my $content = <LON-CAPA is based upon a lot of Open Source modules, so it's +important to have the right environment on your computer. This is most +easily done by installing on a dedicated machine while installing the +operating system.

+ +

The configuring of LON-CAPA is part of the install process of the +software. However, In case something needs to be altered on isn't +working here is some information on configuring +LON-CAPA.

-

For all distributions, please see how to -configure the server after installation.


PRELUDE @@ -77,48 +84,38 @@ $content .= <<'POSTLUDE';

Downloading LON-CAPA

-Current Release is Version LATESTVERSION. +Current Production Release is Version LATESTVERSION. This version was released on LATESTDATE.

-You can download the most current version of LON-CAPA at +You can download the most current production version of LON-CAPA at http://install.lon-capa.org/versions/loncapa-current.tar.gz (version LATESTVERSION).

+TESTINGRELEASE_START

-The development release of LON-CAPA is at: - -http://install.lon-capa.org/versions/loncapa-unstable.tar.gz. -

-

-To view the code development history of LON-CAPA, you will need to use the -CVS tool, the open standard for -version control. Please contact Helen ( -helen@lon-capa.org) to request a CVS USERNAME. +Current Testing Release is Version LATESTTESTINGVERSION. +This version was released on LATESTTESTINGDATE.

-The initial CVS commands would be: -

-
- -
-
-export CVSROOT=:pserver:USERNAME@zaphod.lite.msu.edu:/home/cvs 
-cvs login 
-cvs co loncapa
-
-
-
-

-For more information on using CVS, please visit -http://www.cvshome.org/ -or read loncom/build/readme.html after downloading -the current version of LON-CAPA as described above. +You can download the testing version of the upcoming LON-CAPA at + +http://install.lon-capa.org/versions/loncapa-testing.tar.gz +(version LATESTTESTINGVERSION).

+TESTINGRELEASE_END +
POSTLUDE +$content .= "
    \n"; +for (@other_pages) { + $content .= "
  • $_->[0]
  • \n"; +} + +$content .= "
\n"; + my $index = replaceText("Install LON-CAPA", "Install LON-CAPA", $content); @@ -126,7 +123,7 @@ print INDEX $index; close INDEX; # Build the pages -for (@pages) { +for (@pages,@other_pages) { my ($title, $source) = @$_; # read in content