Skip to content

Support for dist files / overwriting values with local config values #24

Description

@rauwebieten

Usually I have a dist file (which is added to my git project), and local configuration files (not in git).
I'd like to load dist filesfirst, and then overwrite them with local configuration files.

For example:

app.dist.ini
´´´
db.hostname = myhostname
db.database = mydatabase
db.username = ...
´´´

and then in app.ini
´´´
db.hostname = mysql.host.com
db.database = somerealdbname
db.username = ...
´´´

Is this possible out of the box?
Or should I create my own loaders?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions