plone / cookiecutter-zope-instance

It bakes configuration for Zope 5
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Configuration RelStorage via cookiecutter #1

Closed 1letter closed 2 years ago

1letter commented 2 years ago

I read this and do it step by step. I select mysql - option 2, but some steps later the the db_relstorage_postgresql_dsn is requested. Is this normal or a bug?

Select db_relstorage:
1 - postgresql
2 - mysql
3 - oracle
4 - sqlite3
Choose from 1, 2, 3, 4 [1]: 2
db_relstorage_keep_history [True]: False
db_relstorage_read_only [False]: 
db_relstorage_create_schema [True]: 
db_relstorage_commit_lock_timeout []: 
db_relstorage_commit_lock_id []: 
db_relstorage_blob_cache_size_check_external []: 
db_relstorage_blob_chunk_size []: 
db_relstorage_cache_local_mb []: 
db_relstorage_cache_local_object_max []: 
db_relstorage_cache_local_compression []: 
db_relstorage_cache_local_dir []: 
db_relstorage_cache_prefix []: 
db_relstorage_replica_conf []: 
db_relstorage_ro_replica_conf []: 
db_relstorage_replica_revert_when_stale []: 
db_relstorage_replica_timeout []: 
Select db_relstorage_postgresql_driver:
1 - psycopg2
2 - psycopg2 gevent
3 - psycopg2cffi
4 - pg8000
Choose from 1, 2, 3, 4 [1]: 1
db_relstorage_postgresql_dsn []: 
1letter commented 2 years ago

I see that all question must be anwered and the options that not needed are ignored. it's a little it too much, but ok.

jensens commented 2 years ago

Please follow https://github.com/plone/cookiecutter-zope-instance#usage to not have to answer hours of questions.