[ckan-changes] [ckan/ckan] bb4524: Allows use of CKAN_INI env-var to locate config

GitHub noreply at github.com
Mon Oct 27 17:37:11 UTC 2014


  Branch: refs/heads/1597-config
  Home:   https://github.com/ckan/ckan
  Commit: bb452421266866e826169cd6706f4c15447cae5f
      https://github.com/ckan/ckan/commit/bb452421266866e826169cd6706f4c15447cae5f
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-10-27 (Mon, 27 Oct 2014)

  Changed paths:
    M ckan/lib/cli.py
    M doc/maintaining/paster.rst

  Log Message:
  -----------
  Allows use of CKAN_INI env-var to locate config

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.




More information about the ckan-changes mailing list