Skip to content

Commit f90b557

Browse files
committed
Move database and external program settings
This moves database and external program settings to webwork2.mojolicious.yml, moves code from database.conf.dist to WeBWorK::DB::Utils and load these settings into the CourseEnvironment.
1 parent b150659 commit f90b557

7 files changed

+419
-544
lines changed

conf/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Basic webwork2 configuration files.
1616
- `localOverrides.conf.dist` should be copied to `localOverrides.conf`. `localOverrides.conf` will be read after the
1717
`defaults.config` file is processed and will overwrite configurations in `defaults.config`. Use this file to make
1818
changes to the settings in `defaults.config`.
19-
- `database.conf.dist` contains database configuration parameters. It is included by `defaults.config`. This file
20-
should not be copied or modified unless you really know what you are doing.
2119

2220
Configuration extension files.
2321

@@ -30,7 +28,7 @@ Configuration extension files.
3028
Server configuration files.
3129

3230
- `webwork2.mojolicious.dist.yml` contains the webwork2 Mojolicious app configuration settings. Copy this file to
33-
`webwork2.mojolicious.yml` if you need to change those settings. You usually will need to do this.
31+
`webwork2.mojolicious.yml` if you need to change those settings. You usually will need to do this. This file contains server settings, database settings and paths to external programs.
3432
- `webwork2.dist.service` is a systemd configuration file for linux systems that serves the webwork2 app via the
3533
Mojolicious hypnotoad server. If you need to change it, then copy it to `webwork2.service`.
3634
- `webwork2-job-queue.dist.service` is a systemd configuration file for linux systems that runs the webwork2 job queue

conf/database.conf.dist

-340
This file was deleted.

0 commit comments

Comments
 (0)