forked from openwebwork/webwork2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change references to global.conf in the comments to refer to site.con…
…f or defaults.config as appropriate All references to global.conf in comments within webwork2/ have been changed to point to the appropriate replacement file.
- Loading branch information
dlglin
committed
Jun 19, 2012
1 parent
7ff7031
commit 987ec8f
Showing
31 changed files
with
72 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,26 @@ | ||
Use the prelocal.conf and postlocal.conf files to make modifications. | ||
Use the site.conf and localOverrides.conf files to make modifications. | ||
|
||
The prelocal.conf file is read before the global.conf.dist file is processed. Non-local variables in this file | ||
are then available for use in global.conf.dist. | ||
site.conf contains global variables which are required for basic configuration. | ||
defaults.config contains initial settings for many customizable options in WeBWorK. Do not edit defaults.config! It will be overridden next time you upgrade. | ||
|
||
The postlocal.conf file is read after the global.conf.dist file is processed and will overright configurations in global.conf.dist | ||
The localOverrides.conf file is read after the defaults.config file is processed and will overwrite configurations in defaults.config. Use this file to make changes to the settings in defaults.config, as it will be left alone when you upgrade. | ||
|
||
This new configuration system should greatly simplify the process of | ||
updating webwork2 since it is less likely | ||
that one will need to modify the config files when upgrading. Default configurations or permissions for | ||
new features will be defined in global.conf.dist and will allow automatic upgrades. | ||
|
||
Overrides for these new features can be added later to postlocal.conf | ||
new features will be defined in defaults.config and will allow automatic upgrades. You can override these at any point from localOverrides.conf. | ||
|
||
FIRST TIME RECONFIGURATION | ||
|
||
COPY prelocal.conf.dist to prelocal.conf. | ||
COPY postlocal.conf.dist to postlocal.conf. | ||
COPY site.conf.dist to site.conf. | ||
COPY localOverrides.conf.dist to localOverrides.conf. | ||
|
||
MODIFY prelocal.conf using the data from your global.conf file. | ||
MODIFY site.conf using the data from your global.conf file for the entries contained within site.conf. | ||
In particular you will need to fill in the server name, the | ||
password for the database and any modifications you have made as to the | ||
location of the temporary files directory. Notice that the location of the temporary files directory | ||
is used to define several other related subdirectories, so this modification needs to be made | ||
in prelocal.conf BEFORE the standard global.conf.dist file is read. | ||
locations of various directories. | ||
|
||
RENAME global.conf to global.save in order to make sure that the global.conf.dist is read. | ||
Otherwise the global.conf file will be read instead of global.conf.dist and the behavior will be | ||
as with the old system. | ||
UPDATE localOverrides.conf to reflect any local customizations that you had made to global.conf. | ||
|
||
INSPECT and possibly modify postlocal.conf to add any further local modifications that you had | ||
made to your global.conf file. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.