[ckan-changes] [ckan/ckan] 1b7eb0: [1597] Allows use of environment var for specifyin...
GitHub
noreply at github.com
Thu Mar 13 15:15:44 UTC 2014
Branch: refs/heads/1597-config-from-envvar
Home: https://github.com/ckan/ckan
Commit: 1b7eb022251fca905c1de4767c72a7fda4d3f228
https://github.com/ckan/ckan/commit/1b7eb022251fca905c1de4767c72a7fda4d3f228
Author: Ross Jones <ross at servercode.co.uk>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M ckan/lib/cli.py
Log Message:
-----------
[1597] Allows use of environment var for specifying config file.
Implements #1597
If you don't specify a config file using the -c option, CKAN defaults to
looking for development.ini in the current directory. This patch will
first check the -c parameter, and if it doesn't find it will use the content
of the CKAN_INI environment variable. If it cannot find that, it will then
default to development.ini in the current directory.
This does not work with paster serve as this is handled by pastescript which
specifically requires the -c paramter.
More information about the ckan-changes
mailing list