[Catalyst] Distributing and updating Cat apps

Oleg Kostyuk cub.uanic at gmail.com
Mon Apr 5 09:31:11 GMT 2010


2010/3/30 Bill Moseley <moseley at hank.org>:
>
> ..........................
> The applications have separate YAML files for different environments.  There
> might be "dev.yml", "testing.yml", "qa.yml", and "produciton.yml".  Each
> machine has a file in /etc/<$app_name> that sets what environment the
> application should start in (i.e. what YAML config file to use).  Push to
> testing and the app starts and uses the testing database as configured in
> testing.yml.

Catalyst already have such possibility: read end of "DESCRIPTION" in
Catalyst::Plugin::ConfigLoader, and more details in description of
get_config_local_suffix().

--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)



More information about the Catalyst mailing list