Skip to content
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

Some notes from initial use #151

Closed
gdgellatly opened this issue Jul 5, 2018 · 3 comments
Closed

Some notes from initial use #151

gdgellatly opened this issue Jul 5, 2018 · 3 comments

Comments

@gdgellatly
Copy link
Contributor

I just started playing with this and I like it. There are a few things I'd change in the scaffolding/conf.

  1. dbtemplate in conf and set to template1 (or else create a template as variable). I notice Odoo has recently switched back to template0 default, but for me, if you want to populate extensions cleanly, template1 is better as long as you set locale.

  2. Installing unaccent (or any other extension) - install on template1 (or above template var). The problem is otherwise first run the db doesn't exist. I actually install on both template1 and attempt on the db, just in case.

  3. db init args in common.yaml db-> environment IMHO POSTGRES_INITDB_ARGS: "--data-checksums --locale=C --encoding=UTF8" should be set as a minimum default. --data-checksums are critical for production and the performance hit is less than 1% for other environs. Again the locale setting is critical, otherwise btree indexes useless for like and ilike searches.

@yajo
Copy link
Contributor

yajo commented Jul 5, 2018

Looks good. Would you mind contributing the corresponding pull requests? 😊

@gdgellatly
Copy link
Contributor Author

Will do.

@yajo
Copy link
Contributor

yajo commented Jul 30, 2018

Closing due to repo split explained in #157. Feel free to reopen in https://github.com/Tecnativa/doodba-scaffolding if this is still an issue. Thanks!

@yajo yajo closed this as completed Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants