ShinyCMS icon indicating copy to clipboard operation
ShinyCMS copied to clipboard

Feature request: Configuration Assistant

Open Hiranyaloka opened this issue 9 years ago • 3 comments

A configuration file (yaml?) that dynamically defines templates, sections, pages, shops, etc along with their elements, products, categories, and static files. This would greatly ease theme deployment on new or existing installations.

Hiranyaloka avatar Apr 11 '15 08:04 Hiranyaloka

I think this should be done with a database update script, not a config file. Look at the database demo build scripts for basic examples, although it could be done more neatly with https://metacpan.org/pod/DBIx::Class::Fixtures and/or related/similar modules.

denny avatar Apr 11 '15 23:04 denny

Scripts are great for scripters, for theme development, a yaml file is more manageable for themers. See for example: https://github.com/openmelody/mt-plugin-configassistant

Hiranyaloka avatar Apr 11 '15 23:04 Hiranyaloka

DBIx::Class:Fixtures looks nice. The data dump it provides/uses could be converted to and from a YAML file, which is essentially what I'm looking for.

Hiranyaloka avatar Apr 11 '15 23:04 Hiranyaloka