From: Mike G. <ga...@de...> - 2005-05-26 13:00:53
|
Log Message: ----------- This is the model course that we use as a template to create new courses on the development machine. Added Files: ----------- webwork-modperl/courses/modelCourse: course.conf Revision Data ------------- --- /dev/null +++ courses/modelCourse/course.conf @@ -0,0 +1,90 @@ +#!perl +########################################################################= ######## +# WeBWorK Online Homework Delivery System +# Copyright =A9 2000-2003 The WeBWorK Project, http://openwebwork.sf.net= / +#=20 +# This program is free software; you can redistribute it and/or modify i= t under +# the terms of either: (a) the GNU General Public License as published b= y the +# Free Software Foundation; either version 2, or (at your option) any la= ter +# version, or (b) the "Artistic License" which comes with this package. +#=20 +# This program is distributed in the hope that it will be useful, but WI= THOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or = FITNESS +# FOR A PARTICULAR PURPOSE. See either the GNU General Public License o= r the +# Artistic License for more details. +########################################################################= ######## + +# This file is used to override the global WeBWorK course environment fo= r +# requests to this course. All package variables set in this file are ad= ded to +# the course environment. If you wish to set a variable here but omit it= from +# the course environment, use the "my" keyword. Commonly changed config= uration +# options are noted below. + +# Database Layout (global value typically defined in global.conf) +#=20 +# Several database are defined in the file conf/database.conf and stored= in the +# hash %dbLayouts. +#=20 +# The database layout is always set here, since one should be able to ch= ange the +# default value in global.conf without disrupting existing courses. +#=20 +# global.conf values: +# $dbLayoutName =3D 'sql_single'; +# *dbLayout =3D $dbLayouts{$dbLayoutName}; + +$dbLayoutName =3D 'sql_single'; +*dbLayout =3D $dbLayouts{$dbLayoutName}; + +# Global User ID (global value typically defined in database.conf) +#=20 +# The globalUserID parameter given for the set and problem tables denote= s the ID +# of the user that the GlobalTableEmulator will use to store data for th= e set +# and problem tables. +#=20 +# If a course will be used under WeBWorK 1.x, this value should be overr= idden on +# a course-by-course basis to the ID of the professor who is most likely= to be +# involved in creating new problem sets. Sets which have not been assign= ed will +# only be visible to this user when logging into WeBWorK 1.x. +#=20 +# The global user ID is always set here, since one should be able to cha= nge the +# default value in database.conf without disrupting existing courses. +#=20 +# global.conf values: +# $dbLayouts{gdbm}->{set}->{params}->{globalUserID} =3D 'global_user'; +# $dbLayouts{gdbm}->{problem}->{params}->{globalUserID} =3D 'global_use= r'; + +$dbLayouts{gdbm}->{set}->{params}->{globalUserID} =3D 'global_user'; +$dbLayouts{gdbm}->{problem}->{params}->{globalUserID} =3D 'global_user'; + +# Allowed Mail Recipients (global value typically not defined) +#=20 +# Defines addresses to which the PG system is allowed to send mail. This= should +# probably be set to the addresses of professors of this course. Sending= mail +# from the PG system (i.e. questionaires, essay questions) will fail if = this is +# not set. +#=20 +# global.conf values: +# $mail{allowedRecipients} =3D ['ga...@ma...']; + +$mail{allowedRecipients} =3D ['ga...@ma...']; + +# Feedback Mail Recipients (global value typically not defined) +#=20 +# Defines recipients for feedback mail. If not defined, mail is sent to = all +# instructors and TAs. +#=20 +# global.conf values: +# $mail{feedbackRecipients} =3D ['ga...@ma...']; + + + + +# Users for whom to label problems with the PG file name (global value t= ypically "professor") +#=20 +# For users in this list, PG will display the source file name when rend= ering a problem. +#=20 +# global.conf values: +# $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} =3D ['gage', 'api= zer', 'sh002i', 'professor']; + +$pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} =3D ['global_user', = 'toenail', 'sam', 'apizer', 'gage']; + |