[ckan-dev] CKAN Packaging and MultiInstance
seb.bacon at gmail.com
Wed Jun 15 09:10:09 BST 2011
This is exactly what's needed -- great stuff :)
On 13 June 2011 11:54, James Gardner <james at 3aims.com> wrote:
> Hi all,
> I'm just writing to keep you up to date with some packaging discussion.
> At the moment I've written a script called repo.py (with David Read) which
> automatically builds Debian packages from pip requirements such as these:
> That's pretty handy in itself but I've also gone further and written a set
> of common helper functions in bash which each help you perform one part of
> the CKAN install process for setting up an instance:
> They each check for a condition and only perform their action if they need
> to so they are safe to run multiple times.
> Finally, I've gone even further and written DEBAIN postinst scripts so that
> a CKAN instance can be automatically set up, using the bash functions in
> common.sh, when a package is installed.
> The repo.py script mentioned above is capable of building packages that use
> the postinst scripts so it should be soon be possible to install multiple
> instances of CKAN alongside each other on Ubuntu 10.04 amd64 as simply as
> sudo apt-get install ckan-std ckan-dgu etc
> If we can automate the generation of sample instance templates, we can
> automatically build the packages above and that will get us a long way
> towards being able to easily host and manage lots of CKAN instances on a
> single machine.
> More to come soon...
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
mobile: 07790 939224
land: 01531 671074
More information about the ckan-dev