[ckan-dev] Backup strategy for CKAN

Ross Jones ross at servercode.co.uk
Thu Apr 10 16:27:27 UTC 2014


The old Pylons docs are gone now, replaced by the Pyramid docs, so I’ll have to root out a source for my claims :)  You definitely can’t do X or ‘’ though.
Perhaps moving to a Django style python config file might be better, then you can do what you like in config ! 

Ross.

On 10 Apr 2014, at 17:10, Vitor Baptista <vitor at vitorbaptista.com> wrote:

> Hi Ross,
> 
> Cool! How does that work? Can we do something like
> 
> ckan.site_url = CKAN_SITE_URL or http://localhost:5000
> 
> ???
> 
> Cheers,
> 
> 2014-04-10 13:05 GMT-03:00 Ross Jones <ross at servercode.co.uk>:
> 
> On 10 Apr 2014, at 17:02, Vitor Baptista <vitor at vitorbaptista.com> wrote:
>> @rossjones is doing a pull request somewhat related in https://github.com/ckan/ckan/pull/1600. But that's just to be able to set up which .ini file CKAN will use through an environment variable, not the actual contents.
>> 
> 
> Actually I think the pylons config file can also reference environment vars, PGHOST  etc… Not an ideal solution, but a move in the right direction I think as the config file is still needed for non-infrastructure settings.  The PR works (I used it every day), but it isn’t documented yet.
> 
> Ross
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> 
> 
> -- 
> Vítor Baptista
> Developer  |  http://vitorbaptista.com | LinkedIn | @vitorbaptista
> The Open Knowledge Foundation
> Empowering through Open Knowledge
> http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140410/6be18b2d/attachment-0003.html>


More information about the ckan-dev mailing list