You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the prelocal.conf and postlocal.conf files to make modifications.
1
+
Use the site.conf and localOverrides.conf files to make modifications.
2
2
3
-
The prelocal.conf file is read before the global.conf.dist file is processed. Non-local variables in this file
4
-
are then available for use in global.conf.dist.
3
+
site.conf contains global variables which are required for basic configuration.
4
+
defaults.config contains initial settings for many customizable options in WeBWorK. Do not edit defaults.config! It will be overridden next time you upgrade.
5
5
6
-
The postlocal.conf file is read after the global.conf.dist file is processed and will overright configurations in global.conf.dist
6
+
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.
7
7
8
8
This new configuration system should greatly simplify the process of
9
9
updating webwork2 since it is less likely
10
10
that one will need to modify the config files when upgrading. Default configurations or permissions for
11
-
new features will be defined in global.conf.dist and will allow automatic upgrades.
12
-
13
-
Overrides for these new features can be added later to postlocal.conf
11
+
new features will be defined in defaults.config and will allow automatic upgrades. You can override these at any point from localOverrides.conf.
14
12
15
13
FIRST TIME RECONFIGURATION
16
14
17
-
COPY prelocal.conf.dist to prelocal.conf.
18
-
COPY postlocal.conf.dist to postlocal.conf.
15
+
COPY site.conf.dist to site.conf.
16
+
COPY localOverrides.conf.dist to localOverrides.conf.
19
17
20
-
MODIFY prelocal.conf using the data from your global.conf file.
18
+
MODIFY site.conf using the data from your global.conf file for the entries contained within site.conf.
21
19
In particular you will need to fill in the server name, the
22
20
password for the database and any modifications you have made as to the
23
-
location of the temporary files directory. Notice that the location of the temporary files directory
24
-
is used to define several other related subdirectories, so this modification needs to be made
25
-
in prelocal.conf BEFORE the standard global.conf.dist file is read.
21
+
locations of various directories.
26
22
27
-
RENAME global.conf to global.save in order to make sure that the global.conf.dist is read.
28
-
Otherwise the global.conf file will be read instead of global.conf.dist and the behavior will be
29
-
as with the old system.
23
+
UPDATE localOverrides.conf to reflect any local customizations that you had made to global.conf.
30
24
31
-
INSPECT and possibly modify postlocal.conf to add any further local modifications that you had
0 commit comments