acquia/reservoir

Demo content types + content should be optional during the installation process

danepowell opened this issue · 3 comments

Reservoir provides a default article content type for demo purposes. Many (most?) production sites won't use this particular content type, so it should be able to be deleted.

The problem is that Reservoir creates a "hello world" article at install time. So using any sort of standard configuration management workflow, when you install the site (or immediately after you install the site) and you try to import site configuration (which would delete the article content type), the import fails because content already exists:

Entities exist of type Content and Content type Article. These entities need to be deleted before importing.

I think the best solution would be to make the creation of demo / dummy content optional (perhaps by creating a separate reservoir_demo module).

+1

Expanded the scope even a bit further as you can see :)

This is one of the reasons I opened #12 btw.