Skip to content

Configuration

Austen McDonald edited this page Nov 11, 2016 · 1 revision

The crate is responsible for configuring the game, which is done through a configuration file, in the YAML format. The path to the configuration file is config/lotgd.yml.

Here's the format of the config file:

database:
    dsn: # [Data Source Name](https://en.wikipedia.org/wiki/Data_source_name), a way to describe where the database is.
    name: # name of the database to access inside the specified DSN.
    user: # user name that has access to the database.
    password: # password for the database user.
logs:
    path: # the path to the directory to store log files, relative to this config file.

See the config.yml we use for testing.

Clone this wiki locally