Skip to content

Commit

Permalink
Move database and external program settings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pstaabp committed Mar 1, 2024
1 parent b150659 commit f90b557
Show file tree
Hide file tree
Showing 7 changed files with 419 additions and 544 deletions.
4 changes: 1 addition & 3 deletions conf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Basic webwork2 configuration files.
- `localOverrides.conf.dist` should be copied to `localOverrides.conf`. `localOverrides.conf` will be 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`.
- `database.conf.dist` contains database configuration parameters. It is included by `defaults.config`. This file
should not be copied or modified unless you really know what you are doing.

Configuration extension files.

Expand All @@ -30,7 +28,7 @@ Configuration extension files.
Server configuration files.

- `webwork2.mojolicious.dist.yml` contains the webwork2 Mojolicious app configuration settings. Copy this file to
`webwork2.mojolicious.yml` if you need to change those settings. You usually will need to do this.
`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.
- `webwork2.dist.service` is a systemd configuration file for linux systems that serves the webwork2 app via the
Mojolicious hypnotoad server. If you need to change it, then copy it to `webwork2.service`.
- `webwork2-job-queue.dist.service` is a systemd configuration file for linux systems that runs the webwork2 job queue
Expand Down
340 changes: 0 additions & 340 deletions conf/database.conf.dist

This file was deleted.

Loading

0 comments on commit f90b557

Please sign in to comment.