Skip to main content

override default config with local files

Project description

mete0r.recipe.localconfig

override default config with local files

example:

[buildout]
parts = config

[config]
recipe = mete0r.recipe.localconfig
localconfig.path = local-config.json

foo = default-value

[deploy]
recipe = some-recipe-to-deploy
option = ${config:foo}

local-config.json:

{
        "foo": "local-value"
}

Options

localconfig.path (required)

path to external config file.

localconfig.required (optional, default: false)

whether the external config file should exists

Changes

0.1.0 (2015-07-09)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mete0r.recipe.localconfig-0.1.0.tar.gz (24.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page