-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the storage backend configurable in the stack #151
Comments
Cookieplone's main goal is to provide an easy on-ramp for newcomers to Plone. I'm worried that adding more choices for how to do things works against that goal. If we need to add more options to support "advanced" users, I would really like to make sure they are in a separate set of questions that is only asked if the user indicates they want advanced options. But, I don't think cookiecutter gives us that much flexibility in how the prompts are asked. |
Not yet. cookiecutter/cookiecutter#1645 It was requested back in 2017. cookiecutter/cookiecutter#1021 |
In general, I agree with the sentiment. But...
to a newcomer, I consider the choice of storage much more easy to expect, understand and answer than, for example, the questions about versions (in particular about pre-release versions), or even the number of different names that are asked (all of the slug and package names).
It would also help to group all the devops-related questions and ask first whether to create any devops stuff at all. |
We could mark the Relstorage option as "best practice" and have it the default. This is enough for newcomers, and leave the choice open for developers. |
RelStorage is the default as it is, so the proposed change doesn't alter the default choice of storage. |
I have colleagues who started with Plone recently and don't even know that these different storage options exist, because they are using the defaults. What I'd like to avoid is forcing them to learn about them (or give them the impression that they need to learn about them) before they need to. I suggest we do the following:
|
I added a commit that I hope does both of these.
I'll look into the cookiecutter issues and PR referenced by @stevepiercy in #151 (comment) . |
The container stack as defined by
docker-compose.yml
and the devops swarm configuration uses a RelStorage and a PostgreSQL database without asking. It may be desirable to use ZEO instead, or even just a local FileStorage with a single backend process for small projects. There should be a cookiecutter configuration option for this.The text was updated successfully, but these errors were encountered: