Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

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

Open
danepowell opened this issue Jul 10, 2017 · 3 comments

Comments

@danepowell
Copy link

danepowell commented Jul 10, 2017

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).

@wimleers
Copy link
Member

+1

@wimleers wimleers changed the title Cannot install site after deleting article content type Demo content types + content should be optional during the installation process Aug 25, 2017
@wimleers
Copy link
Member

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

@wimleers
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants