-
In order to make the CS 540, not CS 549, CVS repository work for you,
add the following lines to your
.bashrc file
in your home directory:
export PATH=$PATH:~/bin:.:../../../web_gen
export CVSROOT=:ext:your-login-name@amazon.een.orst.edu:/home/cvs_cs540
export CVS_RSH=ssh
You may also add the following statement to let your Unix prompt
indicate the host name and the full path of your working directory:
export PS1="\h \w \!% "
Then issue Unix command source ~/.bashrc or
open a new terminal.
-
If your shell program is csh or tcsh,
make the following changes to file
.cshrc:
set path=($path ../../../web_gen)
setenv CVSROOT :ext:cs540@amazon.een.orst.edu:/home/cvs_cs540
setenv CVS_RSH ssh
-
Create directory
public_html, and
check out from the CVS repository the required modules
by issuing the following commands:
cd ~/public_html
cvs co -P ms_apps/framework_v3
cvs co -P ms_apps/web_gen
cvs co -P ms_apps/treeview
cvs co -P ms_apps/app_skeleton
cvs co -P ms_apps/fishing_v2
Use your password on amazon.een.orst.edu.
Please do not check in any modified files
without first talking to the instructor.
-
From now on, you may periodically update the files checked out
from the CVS repository
by issuing the following commands.
If any WebGen command fails, do this first.
cd ~/public_html/ms_apps
cd framework_v3
cvs up -d
cd ../web_gen
cvs up -d
cd ../treeview
cvs up -d
cd ../app_skeleton
cvs up -d
cd ../fishing_v2
cvs up -d
-
You may edit manually the
forms/datasource.php file
so that it provides correct database connection parameters such as
$Database_Host = "localhost";
$Database_Name = "your_fishing_v2";
$Database_User = "cs540";
$Database_Password ="CSxyz540";
$Database_Type = "PgSQL"; // PgSQL or MySQL